unreal.PixelDepthOffsetMode

class unreal.PixelDepthOffsetMode

Bases: EnumBase

Determines how the pixel depth offset is evaluated and applied. Must match PODM_LEGACY in MaterialTemplace.ush.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

PDOM_ALONG_CAMERA_VECTOR: PixelDepthOffsetMode = Ellipsis

PDO is applied along the Camera Vector for Depth and World Position altogether.

Type:

1

PDOM_LEGACY: PixelDepthOffsetMode = Ellipsis

This is the legacy mode where PDO is applied differently for Depth (along View Forward) and world position (along Camera Vector).

Type:

0