UMaterialInstanceDynamic::Create

Create a material instance dynamic parented to the specified material with the specified name.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstanceDynamic.h

Include

#include "Materials/MaterialInstanceDynamic.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialInstanceDynamic.cpp

Syntax

static UMaterialInstanceDynamic * Create
(
    class UMaterialInterface * ParentMaterial,
    class UObject * InOuter,
    FName Name
)

Remarks

Create a material instance dynamic parented to the specified material with the specified name.