UDecalComponent::CreateDynamicMaterialInstance

Utility to allocate a new Dynamic Material Instance, set its parent to the currently applied material, and assign it

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/DecalComponent.h

Include

#include "Components/DecalComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/DecalComponent.cpp

Syntax

virtual UMaterialInstanceDynamic * CreateDynamicMaterialInstance()

Remarks

Utility to allocate a new Dynamic Material Instance, set its parent to the currently applied material, and assign it