unreal.WorldPositionIncludedOffsets

class unreal.WorldPositionIncludedOffsets

Bases: unreal.EnumBase

Specifies which shader generated offsets should included in the world position (displacement/WPO etc.)

C++ Source:

  • Module: Engine

  • File: MaterialExpressionWorldPosition.h

WPT_CAMERA_RELATIVE

Camera relative world position with all material shader offsets applied

Type

2

WPT_CAMERA_RELATIVE_NO_OFFSETS

Camera relative world position with no material shader offsets applied

Type

3

WPT_DEFAULT

Absolute world position with all material shader offsets applied

Type

0

WPT_EXCLUDE_ALL_SHADER_OFFSETS

Absolute world position with no material shader offsets applied

Type

1