TransformMakeTranslation
Type
operator
Summary
Creates a new translation transform.
Syntax
transform with translation <mTranslation>
Description
Creates a new translation transform.
Parameters
Name | Type | Description |
---|---|---|
mTranslation | An expression which evaluates to a list of 2 numbers, the x and y offsets of the translation. |
Examples
// Create translation transform to offset coordinates by 50,100
variable tTransform
put transform with translation [50,100] into tTransform