FStaticMeshSourceModel

Source model from which a renderable static mesh is built.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Syntax

struct FStaticMeshSourceModel

Remarks

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

TUniquePtr< FMe...

 

MeshDescription

Mesh description unpacked from bulk data.

Public variable

TUniquePtr< FMe...

 

MeshDescriptionBulkData

Bulk data containing mesh description.

Public variable

FRawMeshBulkDat...

 

RawMeshBulkData

Imported raw mesh data.

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.

Destructors

Name Description

Public function

~FStaticMeshSourceModel()

Destructor.

Functions

Name Description

Public function

FMeshDescrip...

 

CreateMeshDescription()

Create a new MeshDescription object

Public function Const

bool

 

IsRawMeshEmpty()

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

Public function Const

void

 

LoadRawMesh

(
    FRawMesh& OutRawMesh
)

Public function

void

 

SaveRawMesh

(
    FRawMesh& InRawMesh,
    bool bConvertToMeshdescription
)

Public function

void

 

SerializeBulkData

(
    FArchive& Ar,
    UObject* Owner
)

Serializes bulk data.

Deprecated Variables

Name Description

Public variable

float

 

LODDistance_DEPRECATED

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss