FStaticMeshComponentLODInfo

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h

Include

#include "Components/StaticMeshComponent.h"

Syntax

struct FStaticMeshComponentLODInfo

Variables

Name Description

Public variable

FMeshMapBuildDa...

 

LegacyMapBuildData

Used during deserialization to temporarily store legacy lightmap data.

Public variable

FGuid

 

MapBuildDataId

Uniquely identifies this LOD's built map data.

Public variable

TUniquePtr< FMe...

 

OverrideMapBuildData

Transient override lightmap data, used by landscape grass.

Public variable

FColorVertexBuf...

 

OverrideVertexColors

Vertex colors to use for this mesh LOD

Public variable

UStaticMeshComp...

 

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).

Public variable

TArray< struct ...

 

PaintedVertices

Vertex data cached at the time this LOD was painted, if any

Public variable

FRawStaticIndex...

 

PreCulledIndexBuffer

Public variable

TArray< FPreCul...

 

PreCulledSections

Information for each section about what range of PreCulledIndexBuffer to use.

Constructors

Name Description

Public function

FStaticMeshComponentLODInfo()

Default constructor

Public function

FStaticMeshComponentLODInfo

(
    UStaticMeshComponent* InOwning...
)

Destructors

Name Description

Public function

~FStaticMeshComponentLODInfo()

Destructor

Functions

Name Description

Public function

void

 

BeginReleaseOverrideVertexColors()

Enqueues a rendering command to release the vertex colors.

Public function

void

 

CleanUp()

Delete existing resources

Public function

bool

 

CreateMapBuildDataId

(
    int32 LodIndex
)

Ensure this LODInfo has a valid MapBuildDataId GUID.

Public function

void

 

ExportText

(
    FString& ValueStr
)

Methods for importing and exporting the painted vertex array to text

Public function

void

 

ImportText

(
    const TCHAR** SourceText
)

Public function

void

 

ReleaseOverrideVertexColorsAndBlock()

Public function

void

 

ReleaseResources()

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