UDecalComponent::SetSortOrder

Sets the sort order for the decal component.

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

void SetSortOrder
(
    int32 Value
)

Remarks

Sets the sort order for the decal component. Higher values draw later (on top). This will force the decal to reattach