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 FMaterialDataEx
Remarks
Structure containing extended information about the material and properties which is being baked out
Variables
Type | Name | Description |
---|---|---|
FColor | BackgroundColor | Background color used to initially fill the output texture and used for border smear |
EBlendMode | BlendMode | Blend mode to use when baking, allowing for example detection of overlapping UVs |
bool | bPerformBorderSmear | Whether to smear borders after baking |
bool | bPerformShrinking | Whether to try to shrink the color values to a single non-magenta color value after baking |
bool | bTangentSpaceNormal | Whether to transform normals from world-space to tangent-space (does nothing if material already uses tangent-space normals) |
UMaterialInterf... | Material | Material to bake out |
TMap< FMaterial... | PropertySizes | Extended properties and the texture size at which they should be baked out |