3D Lingo Dictionary > E-K > inverse() |  |

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 `invert()`.

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()`