IMaterialBakingModule

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

bool

 

IsLinearBake

(
    FMaterialPropertyEx Property
)

Returns whether a specific material property is baked to a linear texture or not

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel