Navigation
API > API/Runtime > API/Runtime/Engine
Component instance cached data base class for primitive components. Stores a list of instance components attached to the
| Name | FPrimitiveComponentInstanceData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
Syntax
USTRUCT ()
struct FPrimitiveComponentInstanceData : public FSceneComponentInstanceData
Inheritance Hierarchy
- FInstanceCacheDataBase → FActorComponentInstanceData → FSceneComponentInstanceData → FPrimitiveComponentInstanceData
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/PrimitiveComponent.h | |||
FPrimitiveComponentInstanceData
(
const UPrimitiveComponent* SourceComponent |
Components/PrimitiveComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPrimitiveComponentInstanceData() |
Components/PrimitiveComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComponentTransform | FTransform | Components/PrimitiveComponent.h | ||
| LODParent | TObjectPtr< UPrimitiveComponent > | Components/PrimitiveComponent.h | ||
| OverlayColor | FColor | Components/PrimitiveComponent.h | ||
| VisibilityId | int32 | Components/PrimitiveComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTransform & GetComponentTransform() |
Components/PrimitiveComponent.h |
Overridden from FActorComponentInstanceData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component | Components/PrimitiveComponent.h | |
virtual bool ContainsData() |
Determines if any instance data was actually saved. | Components/PrimitiveComponent.h | |
| Replaces any references to old instances during Actor reinstancing | Components/PrimitiveComponent.h |
Overridden from FInstanceCacheDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Components/PrimitiveComponent.h |