FInstancedStaticMeshComponentInstanceData

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

Choose your operating system:

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

TArray< FInstan...

 

AdditionalRandomSeeds

Additional random seeds

Public variable

bool

 

bHasPerInstanceHitProxies

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

TObjectPtr< USt...

 

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.