FStaticMeshComponentInstanceData

Inheritance Hierarchy

Syntax

struct FStaticMeshComponentInstanceData : public FPrimitiveComponentInstanceData

Variables

Name Description

Public variable

TArray < FGuid >

 

CachedStaticLighting

Used to store lightmap data during RerunConstructionScripts

Public variable

TArray < uint32 ...

 

MaterialStreamingRelativeBoxes

Texture streaming editor data (for viewmodes)

Public variable

UStaticMesh ...

 

StaticMesh

Mesh being used by component

Public variable

TArray < FStream ...

 

StreamingTextureData

Texture streaming build data

Public variable

TArray < FStatic ...

 

VertexColorLODs

Array of cached vertex colors for each LOD

Constructors

Destructors

Functions

Name Description

Public function

void

 

AddVertexColorData

(
    const FStaticMeshComponentLODInfo &...,
    uint32 LODIndex
)

Add vertex color data for a specified LOD before RerunConstructionScripts is called

Public function Const

bool

 

ApplyVertexColorData

(
    UStaticMeshComponent * StaticMe...
)

Re-apply vertex color data after RerunConstructionScripts is called

Overridden from FActorComponentInstanceData

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector & Collector
)

Public function Virtual

void

 

ApplyToComponent

(
    UActorComponent * Component,
    const ECacheApplyPhase CacheApplyPh...
)

Applies this component instance data to the supplied component

Public function Virtual Const

bool

 

ContainsData()

Determines if any instance data was actually saved.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/StaticMeshComponent.h