UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionWorldPosition.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Materials/MaterialExpression.h"
#include "MaterialExpressionWorldPosition.generated.h"

Go to the source code of this file.

Classes

class  UMaterialExpressionWorldPosition
 

Enumerations

enum  EWorldPositionIncludedOffsets : int {
  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
}
 

Enumeration Type Documentation

◆ EWorldPositionIncludedOffsets

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

Enumerator
UMETA 

Absolute world position with all material shader offsets applied

Absolute world position with no material shader offsets applied

Camera relative world position with all material shader offsets applied

Camera relative world position with no material shader offsets applied

UMETA 

Absolute world position with all material shader offsets applied

Absolute world position with no material shader offsets applied

Camera relative world position with all material shader offsets applied

Camera relative world position with no material shader offsets applied

UMETA 

Absolute world position with all material shader offsets applied

Absolute world position with no material shader offsets applied

Camera relative world position with all material shader offsets applied

Camera relative world position with no material shader offsets applied

UMETA 

Absolute world position with all material shader offsets applied

Absolute world position with no material shader offsets applied

Camera relative world position with all material shader offsets applied

Camera relative world position with no material shader offsets applied

WPT_MAX