Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > UDecalComponent
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 |
void SetFadeOut
&40;
float StartDelay,
float Duration,
bool DestroyOwnerAfterFade
&41;
Remarks
Sets the decal's fade start time, duration and if the owning actor should be destroyed after the decal is fully faded out. The default value of 0 for FadeStartDelay and FadeDuration makes the decal persistent. See DecalLifetimeOpacity material node to control the look of "fading out."
Parameters
Name | Description |
---|---|
StartDelay | Time in seconds to wait before beginning to fade out the decal. |
Duration | Time in second for the decal to fade out. |
DestroyOwnerAfterFade | Should the owning actor automatically be destroyed after it is completely faded out. |