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