Interface IAnimation
Represents a TriLib Animation.
Namespace: TriLibCore.Interfaces
Assembly: TriLibCore.dll
Syntax
public interface IAnimation : IObject
Properties
AnimationCurveBindings
Gets or sets the list of animation curve bindings associated with this animation. Each binding defines how an animation curve is mapped to a particular property.
Declaration
List<IAnimationCurveBinding> AnimationCurveBindings { get; set; }
Property Value
| Type | Description |
|---|---|
| List<IAnimationCurveBinding> |
AnimationCurvesByModel
Gets or sets a dictionary of animation curves grouped by model. The outer dictionary key is the IModel, and the value is another dictionary where each entry's key is a property name or identifier, and the value is the associated IAnimationCurve.
Declaration
Dictionary<IModel, Dictionary<string, IAnimationCurve>> AnimationCurvesByModel { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<IModel, Dictionary<string, IAnimationCurve>> |
FrameRate
Gets or sets this animation's frame rate in frames per second.
Declaration
float FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
TranslationKeyTimes
Gets or sets the set of keyframe times at which translation (position) updates occur for the associated model(s).
Declaration
HashSet<float> TranslationKeyTimes { get; set; }
Property Value
| Type | Description |
|---|---|
| HashSet<float> |