Click or drag to resize

Animation Class

An animation consists of keyframe data for a number of nodes. For each node affected by the animation, a separate series of data is given.
Inheritance Hierarchy
SystemObject
  Internal.AssimpAnimation

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public sealed class Animation : IMarshalable<Animation, AiAnimation>

The Animation type exposes the following members.

Constructors
 NameDescription
Public methodAnimation Constructs a new instance of the Animation class.
Top
Properties
 NameDescription
Public propertyDurationInTicks Gets or sets the duration of the animation in number of ticks.
Public propertyHasMeshAnimations Gets if the animation has mesh animations.
Public propertyHasNodeAnimations Gets if the animation has node animation channels.
Public propertyMeshAnimationChannelCount Gets the number of mesh animation channels.
Public propertyMeshAnimationChannels Gets the mesh animation channels.
Public propertyMeshMorphAnimationChannelCount Gets the number of mesh morph animation channels.
Public propertyMeshMorphAnimationChannels Gets the mesh morph animation channels.
Public propertyName 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.
Public propertyNodeAnimationChannelCount Gets the number of node animation channels where each channel affects a single node.
Public propertyNodeAnimationChannels Gets the node animation channels.
Public propertyTicksPerSecond Gets or sets the number of ticks per second. It may be zero if it is not specified in the imported file.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberFreeNative Frees unmanaged memory created by ToNative(IntPtr, Native).
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also