Table of Contents

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

AnimationEngine

AssuredStopped

public Action AssuredStopped

Field Value

Action

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

List<IAbstractAnimator>

EffectiveAnimatorsVersion

public int EffectiveAnimatorsVersion

Field Value

int

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

List<IAbstractAnimator>

MarkerAhead

public Marker MarkerAhead

Field Value

Marker

Stopped

public Action Stopped

Field Value

Action

ZeroPoseId

public const string ZeroPoseId = "ZeroPose"

Field Value

string

ZeroPoseIdComparisonCode

public static readonly int ZeroPoseIdComparisonCode

Field Value

int

Properties

ApplyZeroPose

[YuzuMember]
public bool ApplyZeroPose { get; set; }

Property Value

bool

BezierEasingCalculator

public Animation.AnimationBezierEasingCalculator BezierEasingCalculator { get; }

Property Value

Animation.AnimationBezierEasingCalculator

ContentsPath

[YuzuMember]
public string ContentsPath { get; set; }

Property Value

string

Frame

public int Frame { get; set; }

Property Value

int

Id

[Validation.DefaultCharset]
[YuzuMember]
public string Id { get; set; }

Property Value

string

IdComparisonCode

public int IdComparisonCode { get; }

Property Value

int

IsCompound

[YuzuMember]
public bool IsCompound { get; set; }

Property Value

bool

IsLegacy

[YuzuMember]
public bool IsLegacy { get; set; }

Property Value

bool

IsRunning

public bool IsRunning { get; set; }

Property Value

bool

Markers

[YuzuMember]
public MarkerList Markers { get; }

Property Value

MarkerList

Owner

public AnimationComponent Owner { get; }

Property Value

AnimationComponent

OwnerNode

public Node OwnerNode { get; }

Property Value

Node

RunningMarkerId

public string RunningMarkerId { get; set; }

Property Value

string

Time

public double Time { get; set; }

Property Value

double

Tracks

[YuzuMember]
public AnimationTrackList Tracks { get; }

Property Value

AnimationTrackList

ValidatedEffectiveAnimators

Cached list of all animators used by this animation.

public List<IAbstractAnimator> ValidatedEffectiveAnimators { get; }

Property Value

List<IAbstractAnimator>

ValidatedEffectiveTriggerableAnimators

Cached list of only triggerable animators used by this animation.

public List<IAbstractAnimator> ValidatedEffectiveTriggerableAnimators { get; }

Property Value

List<IAbstractAnimator>

Methods

Advance(float)

public void Advance(float delta)

Parameters

delta float

ApplyAnimators()

public void ApplyAnimators()

CalcDurationInFrames()

public int CalcDurationInFrames()

Returns

int

CalcDurationInSeconds()

public double CalcDurationInSeconds()

Returns

double

FixAntPath(string)

public static string FixAntPath(string path)

Parameters

path string

Returns

string

GetData()

public Animation.AnimationData GetData()

Returns

Animation.AnimationData

HasEasings()

public bool HasEasings()

Returns

bool

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

onStopped Action
immediatelyInvokeIfStopped bool

TryRun(string, double)

public bool TryRun(string markerId = null, double animationTimeCorrection = 0)

Parameters

markerId string
animationTimeCorrection double

Returns

bool