Transform 2D
Builds a 2D transformation from a stack of translate, rotate, scale and skew operations.
Parameters
| Name | Type | Description |
|---|---|---|
| Resultoutput | Transform 2D | The input transform with the stack applied on top. |
| Angle Unit | Enum | The unit every angle in the stack is written in.Choices: Degrees, Radians, Turns |
| Operation Type | Enum | What Add Operation adds.Choices: Translate, Scale, Rotate, Skew, Look At, Apply Transform |
| Add Operation | Trigger | Adds 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
| Name | Type | Description |
|---|---|---|
| Translation | Vector 2 | How far to move across and down. |
Scale
Rotate
Skew
Look At
Apply Transform
| Name | Type | Description |
|---|---|---|
| Transform | Transform 2D | A transform from another operator, applied at this place in the stack. |
The Transform 2D operator describes where something sits in a plane as a stack of simple steps: move it, turn it, scale it, skew it or aim it at a point. Use it to drive the transform of a texture operator such as Transform. 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.
Texture operators measure a picture in pixels from its center, with up as positive and a positive angle turning counterclockwise. A pivot of 0, 0 therefore turns or scales a picture 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 Texture.Transform, Transform 3D.
Keywords: matrix, position, rotation, scale, skew, shear, pivot, texture, picture