FInstancedStaticMeshComponentInstanceData

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

Windows
MacOS
Linux

Inheritance Hierarchy

FActorComponentInstanceData

FSceneComponentInstanceData

FInstancedStaticMeshComponentInstanceData

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< 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.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.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