UDecalComponent::CreateDynamicMaterialInstance

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

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

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