niEulerRotKey⚓︎
An animation key for euler rotations.
This type inherits the following: niRotKey, niAnimationKey
Properties⚓︎
keyOrder
⚓︎
Read-only. An array of 3 values that define the ordering used for the contained keys. Maps to values in ni.eulerRotKeyOrder
table.
Returns:
result
(ni.eulerRotKeyOrder[])
keys
⚓︎
Read-only. A table of x/y/z rotation keys. Each value in the table is an array of animation keys, with a length matching numKeys
. Because an axis key can be nil
, use pairs
instead of ipairs
to iterate over this table.
Returns:
result
(table<number, niFloatKey[]>)
keyTypes
⚓︎
Read-only. An array of 3 values that define the types used for the contained keys. The types map to values in ni.animationKeyType
table.
Returns:
result
(ni.animationKeyType[])
lastIndices
⚓︎
Read-only. An array of 3 values that define the last indices used for each key.
Returns:
result
(integer[])
numKeys
⚓︎
Read-only. An array of 3 values that define the number of keys in each xRotations/yRotations/zRotations.
Returns:
result
(integer[])
timing
⚓︎
The timing of the animation key.
Returns:
result
(number)
value
⚓︎
The rotation value of the animation key.
Returns:
result
(niQuaternion)