Navigation
API > API/Developer > API/Developer/MaterialBaking
Options object to define what and how a material should be baked out
| Name | UMaterialOptions |
| Type | class |
| Header File | /Engine/Source/Developer/MaterialBaking/Public/MaterialOptions.h |
| Include Path | #include "MaterialOptions.h" |
Syntax
UCLASS (Config=Editor, Blueprintable)
class UMaterialOptions : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialOptions() |
MaterialOptions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseMeshData | bool | Determines whether to not allow usage of the source mesh data while baking out material properties | MaterialOptions.h |
|
| bUseSpecificUVIndex | bool | Flag whether or not the value of TextureCoordinateIndex should be used while baking out material properties | MaterialOptions.h |
|
| LODIndices | TArray< int32 > | LOD indices for which the materials should be baked out | MaterialOptions.h |
|
| Properties | TArray< FPropertyEntry > | Properties which are supposed to be baked out for the material(s) | MaterialOptions.h |
|
| TextureCoordinateIndex | int32 | Specific texture coordinate which should be used to while baking out material properties as the positions stream | MaterialOptions.h |
|
| TextureSize | FIntPoint | Size of the final texture(s) containing the baked out property data | MaterialOptions.h |
|