unreal.GeometryScriptLODType

class unreal.GeometryScriptLODType

Bases: EnumBase

The Type of LOD in a Mesh Asset (ie a StaticMesh Asset)

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: GeometryScriptTypes.h

HI_RES_SOURCE_MODEL: GeometryScriptLODType

The HiRes SourceModel. LOD Index is ignored. HiResSourceModel is not available at Runtime.

Type:

1

MAX_AVAILABLE: GeometryScriptLODType

The Maximum-quality available SourceModel LOD (HiResSourceModel if it is available, otherwise SourceModel LOD0)

Type:

0

RENDER_DATA: GeometryScriptLODType

The Render mesh at at given LOD Index. A StaticMesh Asset derives its RenderData LODs from it’s SourceModel LODs. RenderData LODs always exist for every valid LOD Index. However the RenderData LODs are not identical to SourceModel LODs, in particular they will be split at UV seams, Hard Normal creases, etc. RenderData LODs in a StaticMesh Asset are only available at Runtime if the bAllowCPUAccess flag was enabled on the Asset at Cook time.

Type:

3

SOURCE_MODEL: GeometryScriptLODType

The SourceModel mesh at a given LOD Index. Note that a StaticMesh Asset with Auto-Generated LODs may not have a valid SourceModel for every LOD Index SourceModel meshes are not available at Runtime.

Type:

2