IMaterialBakingModule

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

IMaterialBakingModule

References

Module

MaterialBaking

Header

/Engine/Source/Developer/MaterialBaking/Public/IMaterialBakingModule.h

Include

#include "IMaterialBakingModule.h"

Syntax

class IMaterialBakingModule : public IModuleInterface

Functions

Name Description

Public function

void

 

BakeMaterials

(
    const TArray< FMaterialData* >...,
    const TArray< FMeshData* >& M...,
    TArray< FBakeOutput >& Output
)

Bakes out material properties according to MaterialSettings using MeshSettings and stores the output in Output

Public function

void

 

BakeMaterials

(
    const TArray< FMaterialDataEx*...,
    const TArray< FMeshData* >& M...,
    TArray< FBakeOutputEx >& Output
)

Bakes out material properties according to extended MaterialSettings using MeshSettings and stores the output in Output

Public function

void

 

SetEmissiveHDR

(
    bool bHDR
)

Outputs true HDR version of emissive color

Public function

void

 

SetLinearBake

(
    bool bCorrectLinear
)

Bakes all material properties to linear textures, except for colors

Public function

bool

 

SetupMaterialBakeSettings

(
    TArray< TWeakObjectPtr< UObject >> ...,
    int32 NumLODs
)

Promps a slate window to allow the user to populate specific material baking settings used while baking out materials