Navigation
Unreal Engine C++ API Reference > Developer > MaterialBaking
References
Module | MaterialBaking |
Header | /Engine/Source/Developer/MaterialBaking/Public/MaterialBakingStructures.h |
Include | #include "MaterialBakingStructures.h" |
Syntax
struct FPrimitiveData
Remarks
Structure containing primitive information (regarding a mesh or mesh component) that is accessible through material expressions
Variables
Type | Name | Description |
---|---|---|
FVector | ActorPosition | The actor's location in world-space |
const FCustomPr... | CustomPrimitiveData | The mesh component's custom primitive data |
FBoxSphereBound... | LocalBounds | The mesh component's bounds in local-space |
FMatrix | LocalToWorld | The mesh component's local-to-world transform |
FBoxSphereBound... | PreSkinnedLocalBounds | The mesh component's pre-skinning bounds in local-space |
FBoxSphereBound... | WorldBounds | The mesh component's bounds in world-space |
Constructors
Type | Name | Description |
---|---|---|
FPrimitiveData ( const FBoxSphereBounds& LocalBound... ) | ||
FPrimitiveData ( const UStaticMesh* StaticMesh ) | ||
FPrimitiveData ( const USkeletalMesh* SkeletalM... ) | ||
FPrimitiveData ( const UMeshComponent* MeshComp... ) |