3D Lingo Dictionary > E-K > 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 `inverse()`.

Example

This statement inverts the transform of the model Box.

    member("3d world").model("Box").transform.invert()

See also

`inverse()`