Node |
This means all keys are absolute and not relative to the bone default pose. The order which the transformations are to be applied is scaling, rotation, and translation (SRT).
Keys are in chronological order and duplicate keys do not pass the validation step. There most likely will be no negative time values, but they are not forbidden.
public sealed class NodeAnimationChannel : IMarshalable<NodeAnimationChannel, AiNodeAnim>
The NodeAnimationChannel type exposes the following members.
| Name | Description | |
|---|---|---|
| NodeAnimationChannel | Constructs a new instance of the NodeAnimationChannel class. |
| Name | Description | |
|---|---|---|
| HasPositionKeys | Gets if this animation channel contains position keys. | |
| HasRotationKeys | Gets if the animation channel contains rotation keys. | |
| HasScalingKeys | Gets if the animation channel contains scaling keys. | |
| NodeName | Gets or sets the name of the node affected by this animation. It must exist and it must be unique. | |
| PositionKeyCount | Gets the number of position keys in the animation channel. | |
| PositionKeys | Gets the position keys of this animation channel. Positions are specified as a 3D vector. If there are position keys, there should also be -at least- one scaling and one rotation key. | |
| PostState | Gets or sets how the animation behaves after the last key was processed. By default the original transformation matrix of the affected node is taken. | |
| PreState | Gets or sets how the animation behaves before the first key is encountered. By default the original transformation matrix of the affected node is used. | |
| RotationKeyCount | Gets the number of rotation keys in the animation channel. | |
| RotationKeys | Gets the rotation keys of this animation channel. Rotations are given as quaternions. If this exists, there should be -at least- one scaling and one position key. | |
| ScalingKeyCount | Gets the number of scaling keys in the animation channel. | |
| ScalingKeys | Gets the scaling keys of this animation channel. Scalings are specified in a 3D vector. If there are scaling keys, there should also be -at least- one position and one rotation key. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| FreeNative | Frees unmanaged memory created by ToNative(IntPtr, Native). | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |