Navigation
API > API/Developer > API/Developer/MeshMergeUtilities
| Name | IMaterialBakingAdapter |
| Type | class |
| Header File | /Engine/Source/Developer/MeshMergeUtilities/Public/IMaterialBakingAdapter.h |
| Include Path | #include "IMaterialBakingAdapter.h" |
Syntax
class IMaterialBakingAdapter
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddMaterial
(
UMaterialInterface* Material, |
Adds a new material to the underlying asset/data and specify the slot names | IMaterialBakingAdapter.h | |
int32 AddMaterial
(
UMaterialInterface* Material |
Adds a new material to the underlying asset/data | IMaterialBakingAdapter.h | |
void ApplySettings
(
int32 LODIndex, |
Ability to apply custom settings to the FMeshData structure | IMaterialBakingAdapter.h | |
FString GetBaseName() |
Returns base name to use for newly created assets | IMaterialBakingAdapter.h | |
FBoxSphereBounds GetBounds() |
Returns bounds of underlying data | IMaterialBakingAdapter.h | |
FName GetImportedMaterialSlotName
(
int32 MaterialIndex |
Returns the importer material slot name for the given index | IMaterialBakingAdapter.h | |
int32 GetMaterialIndex
(
int32 LODIndex, |
Returns the material index for the given lod and section index | IMaterialBakingAdapter.h | |
FName GetMaterialSlotName
(
int32 MaterialIndex |
Returns the material slot name for the given index | IMaterialBakingAdapter.h | |
int32 GetNumberOfLODs() |
Returns the number of LODs for the data the adapter represents | IMaterialBakingAdapter.h | |
UPackage * GetOuter() |
Returns outer package to use when creating new assets | IMaterialBakingAdapter.h | |
bool IsAsset() |
Returns whether or not the underlying data is an UAsset | IMaterialBakingAdapter.h | |
int32 LightmapUVIndex() |
Returns lightmap UV index used by mesh data | IMaterialBakingAdapter.h | |
void RemapMaterialIndex
(
int32 LODIndex, |
Remaps the material index for the given lod and section index to the specified new one | IMaterialBakingAdapter.h | |
void RetrieveMeshSections
(
int32 LODIndex, |
Retrieves all mesh sections from underlying data | IMaterialBakingAdapter.h | |
void RetrieveRawMeshData
(
int32 LODIndex, |
Retrieves model data in FMeshDescription form | IMaterialBakingAdapter.h | |
void SetMaterial
(
int32 MaterialIndex, |
Sets material index to specified material value | IMaterialBakingAdapter.h | |
void UpdateUVChannelData() |
Update UV channel data on object the adapter represents | IMaterialBakingAdapter.h |