Language:
Discover
By Skill Level
By Category

FStaticMeshSourceModel

Choose your OS:

Syntax

struct FStaticMeshSourceModel

Remarks

UStaticMesh

Source model from which a renderable static mesh is built.

Variables

Name Description

Public variable

bool

 

bImportWithBaseMesh

Weather this LOD was imported in the same file as the base mesh.

Public variable

FMeshBuildSetti ...

 

BuildSettings

Settings applied when building the mesh.

Public variable

FMeshDescriptio ...

 

OriginalMeshDescription

#if WITH_EDITOR

Public variable

FRawMeshBulkDat ...

 

RawMeshBulkData

Imported raw mesh data. Optional for all but the first LOD.

Public variable

FMeshReductionS ...

 

ReductionSettings

Reduction settings to apply when building render data.

Public variable

FPerPlatformFlo ...

 

ScreenSize

ScreenSize to display this LOD.

Public variable

FString

 

SourceImportFilename

The file path that was used to import this LOD.

Public variable

UStaticMesh ...

 

StaticMeshOwner

The staticmesh owner of this source model.

Constructors

Name Description

Public function

FStaticMeshSourceModel()

Default constructor.

FStaticMeshSourceModel

Destructors

Name Description

Public function

~FStaticMeshSourceModel()

Destructor.

Functions

Name Description

Public function

[ENGINE_API](API\Runtime\Engine\GameFramework\ENGINE_API_3) b...

 

IsRawMeshEmpty()

Accessor to Load and save the raw mesh or the mesh description depending on the editor settings.

Public function

[ENGINE_API](API\Runtime\Engine\GameFramework\ENGINE_API_3)vo...

 

LoadRawMesh

(
    FRawMesh & OutRawMesh
)

Public function

[ENGINE_API](API\Runtime\Engine\GameFramework\ENGINE_API_3)vo...

 

SaveRawMesh

(
    FRawMesh & InRawMesh,
    bool bConvertToMeshdescription
)

Public function

void

 

SerializeBulkData

(
    FArchive & Ar,
    UObject * Owner
)

Serializes bulk data.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/StaticMesh.h