Navigation
API > API/Runtime > API/Runtime/Engine
Helper class used to preserve lighting/selection state across blueprint reinstancing
| Name | FInstancedStaticMeshComponentInstanceData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
Syntax
USTRUCT ()
struct FInstancedStaticMeshComponentInstanceData : public FSceneComponentInstanceData
Inheritance Hierarchy
- FInstanceCacheDataBase → FActorComponentInstanceData → FSceneComponentInstanceData → FInstancedStaticMeshComponentInstanceData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/InstancedStaticMeshComponent.h | |||
FInstancedStaticMeshComponentInstanceData
(
const UInstancedStaticMeshComponent* InComponent |
Components/InstancedStaticMeshComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FInstancedStaticMeshComponentInstanceData() |
Components/InstancedStaticMeshComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalRandomSeeds | TArray< FInstancedStaticMeshRandomSeed > | Additional random seeds | Components/InstancedStaticMeshComponent.h | |
| bHasPerInstanceHitProxies | bool | Components/InstancedStaticMeshComponent.h | ||
| CachedStaticLighting | FInstancedStaticMeshLightMapInstanceData | Static lighting info. | Components/InstancedStaticMeshComponent.h | |
| InstancingRandomSeed | int32 | The cached random seed | Components/InstancedStaticMeshComponent.h | |
| PerInstanceSMData | TArray< FInstancedStaticMeshInstanceData > | Components/InstancedStaticMeshComponent.h | ||
| SelectedInstances | TBitArray | The cached selected instances | Components/InstancedStaticMeshComponent.h | |
| StaticMesh | TObjectPtr< UStaticMesh > | Mesh being used by component | Components/InstancedStaticMeshComponent.h |
Functions
Public
Overridden from FActorComponentInstanceData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component | Components/InstancedStaticMeshComponent.h | |
virtual bool ContainsData() |
Determines if any instance data was actually saved. | Components/InstancedStaticMeshComponent.h |
Overridden from FInstanceCacheDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Components/InstancedStaticMeshComponent.h |