User Tools

Site Tools


DzRotationOrder

A class representing a rotation order.

More...

Inherits :

Properties

Constructors

DAZ Script
DzRotationOrder ()
DzRotationOrder ( String order )
DzRotationOrder ( DzRotationOrder order )
DzRotationOrder ( Number firstAxis, Number secondAxis, Number thirdAxis )
DzRotationOrder ( Number order )

Methods

DAZ Script
voidsetOrder ( Number firstAxis, Number secondAxis, Number thirdAxis )
StringtoString ()

Detailed Description

TODO: Add detailed description.

Properties


Number : firstAxis

The index of the first axis of rotation. ( x = 0, y = 1, z = 2 )


Number : order

The enumerated representation of the order of rotation; XYZ = 0, XZY, YXZ, YZX, ZXY, ZYX.


Number : secondAxis

The index of the second axis of rotation. ( x = 0, y = 1, z = 2 )


Number : thirdAxis

The index of the third axis of rotation. ( x = 0, y = 1, z = 2 )

Constructors


DzRotationOrder()

Default Constructor. Creates a new rotation order and sets it to XYZ by default.


DzRotationOrder( String order )

Creates a rotation order by parsing a string.

Parameter(s):

  • order - A string representation of the rotation order in the form “Axis1Axis2Axis3”

DzRotationOrder( DzRotationOrder order )

Copy Constructor.


DzRotationOrder( Number firstAxis, Number secondAxis, Number thirdAxis )

Creates a new rotation order with the given axis order


DzRotationOrder( Number order )

Creates a new rotation order with the given enumerated representation.

Since:

  • 4.6.4.98

Methods


void : setOrder( Number firstAxis, Number secondAxis, Number thirdAxis )

Sets the order of rotation by the given axes.

Parameter(s):

  • firstAxis - The first axis in the rotation order: x = 0, y = 1, z = 2
  • secondAxis - The second axis in the rotation order: x = 0, y = 1, z = 2
  • thirdAxis - Not used - value is implied.

Since:

  • 4.14.1.32

String : toString()

Return Value:

  • A string representation of this rotation order - all uppercase letters.