UDecalComponent::SetDecalMaterial

Setting decal material on decal component. This will force the decal to reattach

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

void SetDecalMaterial
(
    class UMaterialInterface * NewDecalMaterial
)

Remarks

Setting decal material on decal component. This will force the decal to reattach

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