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

Go to the source code of this file.

Classes

class  UMaterialExpressionLocalPosition
 

Enumerations

enum class  EPositionIncludedOffsets { UMETA =(DisplayName="Include Material Shader Offsets") , UMETA =(DisplayName="Exclude Material Shader Offsets") }
 
enum class  ELocalPositionOrigin { UMETA =(DisplayName="Instance") , UMETA =(DisplayName="Pre-Skinned Instance") , UMETA =(DisplayName="Component") }
 

Enumeration Type Documentation

◆ ELocalPositionOrigin

enum class ELocalPositionOrigin
strong

Specifies the reference point of the local position. This can be different in some cases, e.g. for instanced meshes.

Enumerator
UMETA 

Position relative to instance

UMETA 

Returns pre-skinned local position for skeletal meshes, usable in vertex shader only. Returns the instance position for non-skeletal meshes. Incompatible with GPU skin cache feature.

UMETA 

Position relative to primitive actor component

◆ EPositionIncludedOffsets

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

Enumerator
UMETA 

Position with all material shader offsets applied

UMETA 

Position with no material shader offsets applied