Class Animation

Animation class

A keyframe animation.

public sealed class Animation : LogicalChildOfRoot

Properties

NameDescription
Channels { get; }
Duration { get; }
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbData.
LogicalParent { get; }Gets the GlbData instance that owns this object.
Name { get; set; }Gets or sets the display text name, or null.

Methods

NameDescription
CreateMorphChannel(Node, IReadOnlyDictionary<float, SparseWeight8>, int, bool)
CreateMorphChannel<TWeights>(Node, IReadOnlyDictionary<float, TWeights>, int, bool)
CreateRotationChannel(Node, IReadOnlyDictionary<float, Quaternion>, bool)
CreateScaleChannel(Node, IReadOnlyDictionary<float, Vector3>, bool)
CreateTranslationChannel(Node, IReadOnlyDictionary<float, Vector3>, bool)
FindChannels(Node)
FindMorphChannel(Node)
FindRotationChannel(Node)
FindScaleChannel(Node)
FindTranslationChannel(Node)
GetExtension<T>()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
UseExtension<T>()

See Also