Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StaticMeshComponentLODInfo.h |
| Include | #include "StaticMeshComponentLODInfo.h" |
Syntax
struct FStaticMeshComponentLODInfo
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMeshMapBuildData * | LegacyMapBuildData | Used during deserialization to temporarily store legacy lightmap data. | |
| FGuid | MapBuildDataId | Uniquely identifies this LOD's built map data. | |
| TUniquePtr< FMeshMapBuildData > | OverrideMapBuildData | Transient override lightmap data, used by landscape grass. | |
| FColorVertexBuffer * | OverrideVertexColors | Vertex colors to use for this mesh LOD | |
| UStaticMeshComponent * | OwningComponent | Owner of this FStaticMeshComponentLODInfo Warning, can be NULL for a component created via SpawnActor off of a blueprint default (LODData will be created without a call to SetLODDataCount). | |
| TArray< struct FPaintedVertex > | PaintedVertices | Vertex data cached at the time this LOD was painted, if any | |
| FRawStaticIndexBuffer | PreCulledIndexBuffer | ||
| TArray< FPreCulledStaticMeshSection > | PreCulledSections | Information for each section about what range of PreCulledIndexBuffer to use. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
FStaticMeshComponentLODInfo
(
UStaticMeshComponent* InOwningComponent |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Enqueues a rendering command to release the vertex colors. | ||
| void | CleanUp () |
Delete existing resources | |
| bool | CreateMapBuildDataId
(
int32 LodIndex |
Ensure this LODInfo has a valid MapBuildDataId GUID. | |
| void | ExportText
(
FString& ValueStr |
Methods for importing and exporting the painted vertex array to text | |
| void | ImportText
(
const TCHAR** SourceText |
||
| void | |||
| void |