Navigation
API > API/Developer > API/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 FCustomPrimitiveData * | CustomPrimitiveData | The mesh component's custom primitive data | |
| FBoxSphereBounds | LocalBounds | The mesh component's bounds in local-space | |
| FMatrix | LocalToWorld | The mesh component's local-to-world transform | |
| FBoxSphereBounds | PreSkinnedLocalBounds | The mesh component's pre-skinning bounds in local-space | |
| FBoxSphereBounds | WorldBounds | The mesh component's bounds in world-space |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPrimitiveData
(
const FBoxSphereBounds& LocalBounds |
|||
FPrimitiveData
(
const UStaticMesh* StaticMesh |
|||
FPrimitiveData
(
const USkeletalMesh* SkeletalMesh |
|||
FPrimitiveData
(
const UMeshComponent* MeshComponent |