Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionWorldPosition.h |
| Include | #include "Materials/MaterialExpressionWorldPosition.h" |
Syntax
enum EWorldPositionIncludedOffsets
{
UMETA =(DisplayName="Absolute World Position (Including Material Shader Offsets)"),
UMETA =(DisplayName="Absolute World Position (Including Material Shader Offsets)"),
UMETA =(DisplayName="Absolute World Position (Including Material Shader Offsets)"),
UMETA =(DisplayName="Absolute World Position (Including Material Shader Offsets)"),
WPT_MAX,
}
Values
| Name | Description |
|---|---|
| UMETA | Absolute world position with all material shader offsets applied |
| UMETA | Absolute world position with all material shader offsets applied |
| UMETA | Absolute world position with all material shader offsets applied |
| UMETA | Absolute world position with all material shader offsets applied |
| WPT_MAX |
Remarks
Specifies which shader generated offsets should included in the world position (displacement/WPO etc.)