Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components
Inheritance Hierarchy
- FInstanceCacheDataBase
- FActorComponentInstanceData
- FSceneComponentInstanceData
- FPrimitiveComponentInstanceData
- FStaticMeshComponentInstanceData
- FSplineMeshInstanceData
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
Include | #include "Components/StaticMeshComponent.h" |
Syntax
struct FStaticMeshComponentInstanceData : public FPrimitiveComponentInstanceData
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< FGuid > | CachedStaticLighting | Used to store lightmap data during RerunConstructionScripts |
![]() |
TArray< uint32 > | MaterialStreamingRelativeBoxes | Texture streaming editor data (for viewmodes) |
![]() |
TObjectPtr< class UStaticMesh > | StaticMesh | Mesh being used by component |
![]() |
TArray< FStreamingTextureBuildInfo > | StreamingTextureData | Texture streaming build data |
![]() |
TArray< FStaticMeshVertexColorLODData > | VertexColorLODs | Array of cached vertex colors for each LOD |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FStaticMeshComponentInstanceData
(
const UStaticMeshComponent* SourceComponent |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddVertexColorData
(
const FStaticMeshComponentLODInfo& LODInfo, |
Add vertex color data for a specified LOD before RerunConstructionScripts is called |
![]() ![]() |
bool | ApplyVertexColorData
(
UStaticMeshComponent* StaticMeshComponent |
Re-apply vertex color data after RerunConstructionScripts is called |
Overridden from FActorComponentInstanceData
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component |
![]() ![]() ![]() |
bool | ContainsData () |
Determines if any instance data was actually saved. |
Overridden from FInstanceCacheDataBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |