Class AnimationClip

AnimationClip class

The Animation clip is a collection of animations. The scene can have one or more animation clips.

public class AnimationClip : SceneObject

Constructors

NameDescription
AnimationClip()Initializes a new instance of the AnimationClip class.
AnimationClip(string)Initializes a new instance of the AnimationClip class.

Properties

NameDescription
Animations { get; }Gets the animations contained inside the clip.
Description { get; set; }Gets or sets the description of this animation clip
virtual Name { get; set; }Gets or sets the name.
Properties { get; }Gets the collection of all properties.
Scene { get; }Gets the scene that this object belongs to
Start { get; set; }Gets or sets the time in seconds of the beginning of the clip.
Stop { get; set; }Gets or sets the time in seconds of the end of the clip.

Methods

NameDescription
CreateAnimationNode(string)A shorthand function to create and register the animation node on current clip.
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
GetProperty(string)Get the value of specified property
RemoveProperty(Property)Removes a dynamic property.
RemoveProperty(string)Remove the specified property identified by name
SetProperty(string, object)Sets the value of specified property

See Also