3D Lingo Dictionary > A-B > axisAngle |  |

axisAngle

Syntax

    member(whichCastmember).model(whichModel).transform.axisAngle
    member(whichCastmember).camera(whichCamera).transform.axisAngle
    member(whichCastmember).light(whichLight).transform.axisAngle
    member(whichCastmember).group(whichGroup).transform.axisAngle
    transformReference.axisAngle

Description

3D transform property; describes the transform's rotation as an axis/angle pair.

The `axisAngle` property is a linear list containing a vector (the axis) and a float (the angle). The vector is the axis around which the transform is rotated. The float is the amount, in degrees, of rotation.

The default value of this property is `[vector( 1.0000, 0.0000, 0.0000 ), 0.0000]`.

Examples

This statement shows the rotation of the model named Mailbox as an axisAngle. The model is rotated 145.5 degrees counterclockwise about the y axis.

    put member("Yard").model("Mailbox").transform.axisAngle
    -- [vector( 0.0000, 1.0000, 0.0000 ), -145.5000]

See also

`rotation (transform)`