xform is undoable, queryable, and editable.
In query mode, return type is based on queried flag.
Long name (short name) |
argument types |
Properties |
-absolute(-a)
|
|
|
|
perform absolute transformation (default)
|
|
-relative(-r)
|
|
|
|
perform relative transformation
|
|
-euler(-eu)
|
|
|
|
modifer for -relative flag that specifies rotation
values should be added to current XYZ rotation values.
|
|
-objectSpace(-os)
|
|
|
|
treat values as object-space transformation values
(only works for pivots, translations, rotation, rotation
axis, matrix, and bounding box flags)
|
|
-worldSpace(-ws)
|
|
|
|
treat values as world-space transformation values
(only works for pivots, translations, rotation, rotation
axis, matrix, and bounding box flags)
|
|
-worldSpaceDistance(-wd)
|
|
|
|
Values for -sp, -rp, -st, -rt, -t, -piv flags
are treated as world space distances to move along the
local axis. (where the local axis depends on whether
the command is operating in local-space or object-space.
This flag has no effect for world space.
|
|
-preserve(-p)
|
boolean
|
|
|
preserve overall transformation. used to prevent object
from "jumping" when changing pivots or rotation order. the
default value is true. (used with -sp, -rp, -roo, -cp, -ra)
|
|
-scalePivot(-sp)
|
double double double
|
|
|
scale pivot point transformation (when used with
the -p flag the overall transformation is preserved
by modifying the scale translation)
|
|
-scale(-s)
|
double double double
|
|
|
-shear(-sh)
|
double double double
|
|
|
shear transformation.
The values represent the shear <xy,xz,yz>
|
|
-scaleTranslation(-st)
|
double double double
|
|
|
-rotatePivot(-rp)
|
double double double
|
|
|
rotate pivot point transformation (when used with
the -p flag the overall transformation is preserved
by modifying the rotation translation)
|
|
-rotateOrder(-roo)
|
string
|
|
|
rotation order (when used with the -p flag the
overall rotation is preserved by modifying the
local rotation to be quivalent to the old one)
Valid values for this flag are
<xyz | yzx | zxy | xzy | yxz | zyx>
|
|
-rotateAxis(-ra)
|
double double double
|
|
|
rotation axis orientation (when used with
the -p flag the overall rotation is preserved
by modifying the rotation to compensate for
the axis rotation)
|
|
-rotation(-ro)
|
double double double
|
|
|
-rotateTranslation(-rt)
|
double double double
|
|
|
-translation(-t)
|
double double double
|
|
|
-matrix(-m)
|
double16
|
|
|
Sets/returns the composite transformation matrix.
*Note* the matrix is represented by 16 double
arguments that are specified in row order.
|
|
-boundingBox(-bb)
|
|
|
|
Returns the bounding box of an object. The values
returned are in the following order:
xmin ymin zmin xmax ymax zmax.
|
|
-boundingBoxInvisible(-bbi)
|
|
|
|
Returns the bounding box of an object.
This includes the bounding boxes of all invisible
children which are not included using the
boundingBox flag. The values returned are in
following order: xmin ymin zmin xmax ymax zmax.
|
|
-pivots(-piv)
|
double double double
|
|
|
convenience method that changes both the rotate and
scale pivots simultaneously. (see -rp -sp flags for
more info)
|
|
-centerPivots(-cp)
|
|
|
|
Set pivot points to the center of the object's
bounding box. (see -p flag)
|
|
-zeroTransformPivots(-ztp)
|
|
|
|
reset pivot points and pivot translations without
changing the overall matrix by applying these values
into the translation channel.
|
|