IDatasmithScene::AddMaterial

Adds a new Material to the scene (it won't be applied to any mesh).

Windows
MacOS
Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

void AddMaterial
(
    const TSharedPtr< IDatasmithBaseMaterialElement > & InMaterial
)

Remarks

Adds a new Material to the scene (it won't be applied to any mesh).

Parameters

Parameter

Description

InMaterial

the Material that will be added

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