Skip to content

Pack Quaternion Array

Ryan Porter edited this page Feb 25, 2018 · 4 revisions

packQuatArrayNode

Constructs a quaternion array using the input values. The array may be constructed from a list of quaternions, four arrays of components, two arrays of vectors, or an array of axis/angle pairs.

Attribute Name Description Attribute Type
inputQuat (iq) Values that will be placed in the outputQuat array at their logical index if inputMethod is set to 'Elements' double4[]
inputQuatX (iqx) The X component of inputQuat. double
inputQuatY (iqy) The Y component of inputQuat. double
inputQuatZ (iqz) The Z component of inputQuat. double
inputQuatW (iqw) The W component of inputQuat. double
inputX (ix) Values that will be used as the X component in the outputQuat array if inputMethod is set to 'Components' doubleArray
inputY (iy) Values that will be used as the Y component in the outputQuat array if inputMethod is set to 'Components' doubleArray
inputZ (iz) Values that will be used as the Z component in the outputQuat array if inputMethod is set to 'Components' doubleArray
inputW (iw) Values that will be used as the W component in the outputQuat array if inputMethod is set to 'Components' doubleArray
inputVector1 (iv1) Vector to be rotated from by outputQuat array if inputMethod is set to 'Vectors' vectorArray
inputVector2 (iv2) Vector to be rotated to by outputQuat array if inputMethod is set to 'Vectors' vectorArray
inputAxis (iax) Vector representing the pivot axis of outputQuat if inputMethod is set to 'Axis Angle' vectorArray
inputAngle (ia) Rotation around inputAxis of outputQuat if inputMethod is set to 'Axis Angle' angleArray
fillValue (fv) Value that will be placed in the outputQuat array if there is no input for that index. double4
fillValueX (fvx) The X component of fillValue. double
fillValueY (fvy) The Y component of fillValue. double
fillValueZ (fvz) The Z component of fillValue. double
fillValueW (fvw) The W component of fillValue. double
size (s) Size of the outputQuat array. int
inputMethod (im) Selects the method by which the outputQuat is filled. enum
outputQuat (oq) An array of quaternions. quatArray

Clone this wiki locally