Navigation
API > API/Runtime > API/Runtime/Engine
| Name | EMaterialPositionTransformSource |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTransformPosition.h |
| Include Path | #include "Materials/MaterialExpressionTransformPosition.h" |
Syntax
enum EMaterialPositionTransformSource
{
TRANSFORMPOSSOURCE_Local,
TRANSFORMPOSSOURCE_World,
TRANSFORMPOSSOURCE_PeriodicWorld,
TRANSFORMPOSSOURCE_TranslatedWorld,
TRANSFORMPOSSOURCE_FirstPersonTranslatedWorld,
TRANSFORMPOSSOURCE_View,
TRANSFORMPOSSOURCE_Camera,
TRANSFORMPOSSOURCE_Particle,
TRANSFORMPOSSOURCE_Instance,
TRANSFORMPOSSOURCE_MAX,
}
Values
| Name | Remarks |
|---|---|
| TRANSFORMPOSSOURCE_Local | Local space |
| TRANSFORMPOSSOURCE_World | Absolute world space |
| TRANSFORMPOSSOURCE_PeriodicWorld | Like absolute world space, but the world origin is moved to the center of the tile the camera is in. |
| TRANSFORMPOSSOURCE_TranslatedWorld | Translated world space, i.e. world space rotation and scale but with a position relative to the camera |
| TRANSFORMPOSSOURCE_FirstPersonTranslatedWorld | First person "space", which can be thought of as a transform that is applied to a position in translated world space. |
| TRANSFORMPOSSOURCE_View | View space (differs from camera space in the shadow passes) |
| TRANSFORMPOSSOURCE_Camera | Camera space |
| TRANSFORMPOSSOURCE_Particle | Particle space, deprecated value will be removed in a future release use instance space. |
| TRANSFORMPOSSOURCE_Instance | Instance space (used to provide per instance transform, i.e. for Instanced Static Mesh / Particles). |
| TRANSFORMPOSSOURCE_MAX |