User Guide
320
into
This code fragment occurs in a number of Lingo constructs, such as put...into.
inverse()
Syntax
member(whichCastmember).model(whichModel).transform.inverse()
member(whichCastmember).group(whichGroup).transform.inverse()
member(whichCastmember).camera(whichCamera).transform.inverse()
sprite(whichSprite).camera{(index)}.transform.inverse()
member(whichCastmember).light(whichLight).transform.inverse()
transformReference.inverse()
Description
3D transform method; returns a copy of the transform with its position and rotation
properties inverted.
This method does not change the original transform. To invert the original transform, use the
invert() function.
Example
This statement inverts a copy of the transform of the model named Chair:
boxInv = member("3d world").model("Chair").transform.inverse()
See also
invert()
invert()
Syntax
member(whichCastmember).model(whichModel).transform.invert()
member(whichCastmember).group(whichGroup).transform.invert()
member(whichCastmember).camera(whichCamera).transform.invert()
sprite(whichSprite).camera{(index)}.transform.invert()
member(whichCastmember).light(whichLight).transform.invert()
transformReference.invert()
Description
3D transform method; inverts the position and rotation properties of the transform.
This method changes the original transform. To invert a copy of the original transform, use the
inverse() function.
Example
This statement inverts the transform of the model Box:
member("3d world").model("Box").transform.invert()
See also
inverse()