FStaticMeshComponentInstanceData

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback