FInstancedStaticMeshComponentInstanceData

Helper class used to preserve lighting/selection state across blueprint reinstancing

Windows
MacOS
Linux

Inheritance Hierarchy

FActorComponentInstanceData

FSceneComponentInstanceData

FInstancedStaticMeshComponentInstanceData

References

Module

Engine

Header

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

Include

#include "Components/InstancedStaticMeshComponent.h"

Syntax

struct FInstancedStaticMeshComponentInstanceData : public FSceneComponentInstanceData

Remarks

Helper class used to preserve lighting/selection state across blueprint reinstancing

Variables

Name Description

Public variable

FInstancedStati...

 

CachedStaticLighting

Static lighting info.

Public variable

int32

 

InstancingRandomSeed

The cached random seed

Public variable

TArray< float >

 

PerInstanceSMCustomData

Public variable

TArray< FInstan...

 

PerInstanceSMData

Public variable

TBitArray

 

SelectedInstances

The cached selected instances

Public variable

UStaticMesh ...

 

StaticMesh

Mesh being used by component

Constructors

Destructors

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