Transform 3D

Builds a 3D transformation from a stack of translate, rotate and scale operations.

Parameters

NameTypeDescription
ResultoutputTransform 3DThe input transform with the stack applied on top.
Angle UnitEnumThe unit every angle in the stack is written in.Choices: Degrees, Radians, Turns
Operation TypeEnumWhat Add Operation adds.Choices: Translate, Scale, Rotate (Euler), Rotate (Axis Angle), Look At, Apply Transform
Add OperationTriggerAdds an operation of the chosen type to the bottom of the stack.

Operations

The stack, applied from the top down. Each entry is one operation.

Translate

NameTypeDescription
TranslationVector 3How far to move along each axis.

Scale

NameTypeDescription
ScaleVector 3The factor along each axis. 1 leaves an axis as it is.
PivotVector 3The point the scaling grows from.

Rotate (Euler)

NameTypeDescription
OrderEnumThe order the three axis rotations are applied in.Choices: XYZ, XZY, YXZ, YZX, ZXY, ZYX
RotationVector 3The angle around each axis.
PivotVector 3The point the rotation turns around.

Rotate (Axis Angle)

NameTypeDescription
AxisVector 3The direction to rotate around. Its length does not matter.
AngleFloatHow far to rotate around the axis.
PivotVector 3The point the rotation turns around.

Look At

NameTypeDescription
TargetVector 3The point to aim at.
ForwardVector 3The direction of the geometry that is pointed at the target, which is +Z for most meshes. Its length does not matter.
UpVector 3Which way is up, used to keep the result upright.
PivotVector 3The point to aim from, and to turn around.

Apply Transform

NameTypeDescription
TransformTransform 3DA transform from another operator, applied at this place in the stack.

The Transform 3D operator describes where something sits in 3D space as a stack of simple steps: move it, turn it, scale it or aim it at a point. Use it to place a mesh with the Transform operator, or to drive any other transform parameter. The operations are applied from the top down, and a new operator starts with a scale, a rotation and a translation, in that order. The buttons in an operation’s header move or remove it.

Rotations and Scale act around their pivot rather than the origin, so a pivot at the center of a mesh turns or scales it in place.

An Apply Transform placed first is the base the steps below build on. Placed last, it comes after this operator’s own steps.

See also Mesh.Transform, Transform 2D.

Keywords: matrix, position, rotation, scale, look at, pivot