Navigation
API > API/Developer > API/Developer/MaterialBaking
| Name | IMaterialBakingModule |
| Type | class |
| Header File | /Engine/Source/Developer/MaterialBaking/Public/IMaterialBakingModule.h |
| Include Path | #include "IMaterialBakingModule.h" |
Syntax
class IMaterialBakingModule : public IModuleInterface
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BakeMaterials
(
const TArray< FMaterialData* >& MaterialSettings, |
Bakes out material properties according to MaterialSettings using MeshSettings and stores the output in Output | IMaterialBakingModule.h | |
void BakeMaterials
(
const TArray< FMaterialDataEx* >& MaterialSettings, |
Bakes out material properties according to extended MaterialSettings using MeshSettings and stores the output in Output | IMaterialBakingModule.h | |
void BakeMaterials
(
const TArray< FMaterialData* >& MaterialSettings, |
Bakes out material properties according to MaterialSettings using MeshSettings and stores the output in Output | IMaterialBakingModule.h | |
void BakeMaterials
(
const TArray< FMaterialDataEx* >& MaterialSettings, |
Bakes out material properties according to extended MaterialSettings using MeshSettings and stores the output in Output | IMaterialBakingModule.h | |
uint32 GetCRC() |
Obtain a CRC than can help trigger a rebake if code/global settings impacting the bake result change | IMaterialBakingModule.h | |
bool IsLinearBake
(
FMaterialPropertyEx Property |
Returns whether a specific material property is baked to a linear texture or not | IMaterialBakingModule.h | |
void SetEmissiveHDR
(
bool bHDR |
Outputs true HDR version of emissive color | IMaterialBakingModule.h | |
void SetLinearBake
(
bool bCorrectLinear |
Bakes all material properties to linear textures, except for colors | IMaterialBakingModule.h | |
bool SetupMaterialBakeSettings
(
TArray< TWeakObjectPtr< UObject > >& OptionObjects, |
Promps a slate window to allow the user to populate specific material baking settings used while baking out materials | IMaterialBakingModule.h |