FStaticMeshComponentInstanceData

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Components/StaticMeshComponent.h"

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.

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