IMaterialBakingAdapter

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshMergeUtilities

Header

/Engine/Source/Developer/MeshMergeUtilities/Public/IMaterialBakingAdapter.h

Include

#include "IMaterialBakingAdapter.h"

Syntax

class IMaterialBakingAdapter

Functions

Name Description

Public function

int32

 

AddMaterial

(
    UMaterialInterface* Material
)

Adds a new material to the underlying asset/data

Public function Const

void

 

ApplySettings

(
    int32 LODIndex,
    FMeshData& InOutMeshData
)

Ability to aplly custom settings to the FMeshData structure

Public function Const

FString

 

GetBaseName()

Returns base name to use for newly created assets

Public function Const

FBoxSphereBo...

 

GetBounds()

Returns bounds of underlying data

Public function Const

int32

 

GetMaterialIndex

(
    int32 LODIndex,
    int32 SectionIndex
)

Returns the material index for the given lod and section index

Public function Const

int32

 

GetNumberOfLODs()

Returns the number of LODs for the data the adapter represents

Public function Const

UPackage ...

 

GetOuter()

Returns outer package to use when creating new assets

Public function Const

bool

 

IsAsset()

Returns whether or not the underlying data is an UAsset

Public function Const

int32

 

LightmapUVIndex()

Returns lightmap UV index used by mesh data

Public function

void

 

RemapMaterialIndex

(
    int32 LODIndex,
    int32 SectionIndex,
    int32 NewMaterialIndex
)

Remaps the material index for the given lod and section index to the specified new one

Public function Const

void

 

RetrieveMeshSections

(
    int32 LODIndex,
    TArray< FSectionInfo >& InOutSecti...
)

Retrieves all mesh sections from underlying data

Public function Const

void

 

RetrieveRawMeshData

(
    int32 LODIndex,
    FMeshDescription& InOutRawMesh,
    bool bPropagateMeshData
)

Retrieves model data in FMeshDescription form

Public function

void

 

SetMaterial

(
    int32 MaterialIndex,
    UMaterialInterface* Material
)

Sets material index to specified material value

Public function

void

 

UpdateUVChannelData()

Update UV channel data on object the adapter represents

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