Animation Class |
public sealed class Animation : IMarshalable<Animation, AiAnimation>
The Animation type exposes the following members.
| Name | Description | |
|---|---|---|
| DurationInTicks | Gets or sets the duration of the animation in number of ticks. | |
| HasMeshAnimations | Gets if the animation has mesh animations. | |
| HasNodeAnimations | Gets if the animation has node animation channels. | |
| MeshAnimationChannelCount | Gets the number of mesh animation channels. | |
| MeshAnimationChannels | Gets the mesh animation channels. | |
| MeshMorphAnimationChannelCount | Gets the number of mesh morph animation channels. | |
| MeshMorphAnimationChannels | Gets the mesh morph animation channels. | |
| Name | Gets or sets the name of the animation. If the modeling package the data was exported from only supports a single animation channel, this name is usually empty. | |
| NodeAnimationChannelCount | Gets the number of node animation channels where each channel affects a single node. | |
| NodeAnimationChannels | Gets the node animation channels. | |
| TicksPerSecond | Gets or sets the number of ticks per second. It may be zero if it is not specified in the imported file. |
| 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) |