Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FStaticMeshComponentLODInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshComponentLODInfo.h |
| Include Path | #include "StaticMeshComponentLODInfo.h" |
Syntax
USTRUCT ()
struct FStaticMeshComponentLODInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | StaticMeshComponentLODInfo.h | ||
FStaticMeshComponentLODInfo
(
UStaticMeshComponent* InOwningComponent |
StaticMeshComponentLODInfo.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FStaticMeshComponentLODInfo() |
Destructor | StaticMeshComponentLODInfo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMapBuildDataChanged | bool | StaticMeshComponentLODInfo.h | ||
| LegacyMapBuildData | FMeshMapBuildData * | Used during deserialization to temporarily store legacy lightmap data. | StaticMeshComponentLODInfo.h | |
| MapBuildDataId | FGuid | Uniquely identifies this LOD's built map data, a combination of OriginalMapBuildDataID and the ActorInstanceID | StaticMeshComponentLODInfo.h | |
| OriginalMapBuildDataId | FGuid | Uniquely identifies this LOD's built map data. | StaticMeshComponentLODInfo.h | |
| OverrideMapBuildData | TUniquePtr< FMeshMapBuildData > | Transient override lightmap data, used by landscape grass. | StaticMeshComponentLODInfo.h | |
| OverrideVertexColors | FColorVertexBuffer * | Vertex colors to use for this mesh LOD | StaticMeshComponentLODInfo.h | |
| OwningComponent | UStaticMeshComponent * | 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). | StaticMeshComponentLODInfo.h | |
| PaintedVertices | TArray< struct FPaintedVertex > | Vertex data cached at the time this LOD was painted, if any | StaticMeshComponentLODInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginReleaseOverrideVertexColors () |
Enqueues a rendering command to release the vertex colors. | StaticMeshComponentLODInfo.h | |
void CleanUp() |
Delete existing resources | StaticMeshComponentLODInfo.h | |
bool CreateMapBuildDataId
(
int32 LodIndex |
Ensure this LODInfo has a valid OriginalMapBuildDataId GUID. | StaticMeshComponentLODInfo.h | |
void ExportText
(
FString& ValueStr |
Methods for importing and exporting the painted vertex array to text | StaticMeshComponentLODInfo.h | |
void ImportText
(
const TCHAR** SourceText |
StaticMeshComponentLODInfo.h | ||
void ReleaseOverrideVertexColorsAndBlock() |
StaticMeshComponentLODInfo.h | ||
void ReleaseResources() |
StaticMeshComponentLODInfo.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshComponentLODInfo & operator=
(
const FStaticMeshComponentLODInfo& rhs |
Purposely hidden | StaticMeshComponentLODInfo.h |