Navigation
API > API/Developer > API/Developer/MaterialBaking
Structure containing information about the material which is being baked out
| Name | FMaterialData |
| Type | struct |
| Header File | /Engine/Source/Developer/MaterialBaking/Public/MaterialBakingStructures.h |
| Include Path | #include "MaterialBakingStructures.h" |
Syntax
struct FMaterialData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundColor | FColor | Background color used to initially fill the output texture and used for border smear | MaterialBakingStructures.h | |
| BlendMode | EBlendMode | Blend mode to use when baking, allowing for example detection of overlapping UVs | MaterialBakingStructures.h | |
| bPerformBorderSmear | bool | Whether to smear borders after baking | MaterialBakingStructures.h | |
| bPerformShrinking | bool | Whether to try to shrink the color values to a single non-magenta color value after baking | MaterialBakingStructures.h | |
| bTangentSpaceNormal | bool | Whether to transform normals from world-space to tangent-space (does nothing if material already uses tangent-space normals) | MaterialBakingStructures.h | |
| Material | UMaterialInterface * | Material to bake out | MaterialBakingStructures.h | |
| PropertySizes | TMap< EMaterialProperty, FIntPoint > | Properties and the texture size at which they should be baked out | MaterialBakingStructures.h |