ETranslucentSortPolicy::Type

Enumerates available options for the translucency sort policy.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

namespace ETranslucentSortPolicy
{
    enum Type
    {
        SortByDistance      = 0,
        SortByProjectedZ    = 1,
        SortAlongAxis       = 2,
    }
}

Values

Name

Description

SortByDistance

Sort based on distance from camera centerpoint to bounding sphere centerpoint.

SortByProjectedZ

Sort based on the post-projection Z distance to the camera.

SortAlongAxis

Sort based on the projection onto a fixed axis. (Best for 2D games.)

Remarks

Enumerates available options for the translucency sort policy.

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