Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
Options for how to use the NewMaterials array when copying materials to a mesh asset.
| Name | ECopyMeshToAssetUseNewMaterialsOptions |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshAssetFunctions.h |
| Include Path | #include "GeometryScript/MeshAssetFunctions.h" |
Syntax
enum ECopyMeshToAssetUseNewMaterialsOptions
{
ReplaceAssetMaterials = 0,
SetLODMaterials = 1 UMETA(DisplayName = "Set LOD Materials"),
}
Values
| Name | Remarks |
|---|---|
| ReplaceAssetMaterials | Fully replace asset materials list with the provided set. |
| SetLODMaterials | Use the provided new materials as the material for the newly-set LOD, only adding asset materials as-needed. |