Class Animation
- Namespace
- Lime
- Assembly
- Lime.dll
public class Animation
- Inheritance
-
Animation
- Inherited Members
Constructors
Animation()
public Animation()
Fields
AnimationEngine
public AnimationEngine AnimationEngine
Field Value
AssuredStopped
public Action AssuredStopped
Field Value
EffectiveAnimators
Cached list of all animators used by this animation. This cache may be in invalid state, in the user code use ValidatedEffectiveAnimators.
public List<IAbstractAnimator> EffectiveAnimators
Field Value
EffectiveAnimatorsVersion
public int EffectiveAnimatorsVersion
Field Value
EffectiveTriggerableAnimators
Cached list of only triggerable animators used by this animation. This cache may be in invalid state, in the user code use ValidatedEffectiveTriggerableAnimators.
public List<IAbstractAnimator> EffectiveTriggerableAnimators
Field Value
MarkerAhead
public Marker MarkerAhead
Field Value
Stopped
public Action Stopped
Field Value
ZeroPoseId
public const string ZeroPoseId = "ZeroPose"
Field Value
ZeroPoseIdComparisonCode
public static readonly int ZeroPoseIdComparisonCode
Field Value
Properties
ApplyZeroPose
[YuzuMember]
public bool ApplyZeroPose { get; set; }
Property Value
BezierEasingCalculator
public Animation.AnimationBezierEasingCalculator BezierEasingCalculator { get; }
Property Value
ContentsPath
[YuzuMember]
public string ContentsPath { get; set; }
Property Value
Frame
public int Frame { get; set; }
Property Value
Id
[Validation.DefaultCharset]
[YuzuMember]
public string Id { get; set; }
Property Value
IdComparisonCode
public int IdComparisonCode { get; }
Property Value
IsCompound
[YuzuMember]
public bool IsCompound { get; set; }
Property Value
IsLegacy
[YuzuMember]
public bool IsLegacy { get; set; }
Property Value
IsRunning
public bool IsRunning { get; set; }
Property Value
Markers
[YuzuMember]
public MarkerList Markers { get; }
Property Value
Owner
public AnimationComponent Owner { get; }
Property Value
OwnerNode
public Node OwnerNode { get; }
Property Value
RunningMarkerId
public string RunningMarkerId { get; set; }
Property Value
Time
public double Time { get; set; }
Property Value
Tracks
[YuzuMember]
public AnimationTrackList Tracks { get; }
Property Value
ValidatedEffectiveAnimators
Cached list of all animators used by this animation.
public List<IAbstractAnimator> ValidatedEffectiveAnimators { get; }
Property Value
ValidatedEffectiveTriggerableAnimators
Cached list of only triggerable animators used by this animation.
public List<IAbstractAnimator> ValidatedEffectiveTriggerableAnimators { get; }
Property Value
Methods
Advance(float)
public void Advance(float delta)
Parameters
delta
float
ApplyAnimators()
public void ApplyAnimators()
CalcDurationInFrames()
public int CalcDurationInFrames()
Returns
CalcDurationInSeconds()
public double CalcDurationInSeconds()
Returns
FixAntPath(string)
public static string FixAntPath(string path)
Parameters
path
string
Returns
GetData()
public Animation.AnimationData GetData()
Returns
HasEasings()
public bool HasEasings()
Returns
Load()
public void Load()
Run(string)
public void Run(string markerId = null)
Parameters
markerId
string
ScheduleAssuredStopped(Action, bool)
public void ScheduleAssuredStopped(Action onStopped, bool immediatelyInvokeIfStopped)
Parameters
TryRun(string, double)
public bool TryRun(string markerId = null, double animationTimeCorrection = 0)