Table of Contents

Class Animator<T>

Namespace
Lime
Assembly
Lime.dll
public class Animator<T> : IAnimator, IDisposable, IAbstractAnimator

Type Parameters

T
Inheritance
Animator<T>
Implements
Inherited Members

Constructors

Animator()

public Animator()

Properties

Animable

public IAnimable Animable { get; }

Property Value

IAnimable

AnimationId

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

Property Value

string

Curve

public IAnimationCurve<T> Curve { get; }

Property Value

IAnimationCurve<T>

Duration

public int Duration { get; }

Property Value

int

EasingCalculator

public IEasingCalculator EasingCalculator { get; set; }

Property Value

IEasingCalculator

Enabled

public bool Enabled { get; set; }

Property Value

bool

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

IsTriggerable

public bool IsTriggerable { get; }

Property Value

bool

IsZombie

public bool IsZombie { get; }

Property Value

bool

Keys

public IKeyframeCollection<T> Keys { get; }

Property Value

IKeyframeCollection<T>

Owner

public IAnimatorHost Owner { get; set; }

Property Value

IAnimatorHost

PropertyInfo

public PropertyInfo PropertyInfo { get; }

Property Value

PropertyInfo

ReadonlyCurve

[YuzuMember]
public IAnimationCurve<T> ReadonlyCurve { get; set; }

Property Value

IAnimationCurve<T>

ReadonlyKeys

public IKeyframeCollection<T> ReadonlyKeys { get; }

Property Value

IKeyframeCollection<T>

TargetPropertyPath

[YuzuMember("TargetProperty")]
public string TargetPropertyPath { get; set; }

Property Value

string

TargetPropertyPathComparisonCode

public int TargetPropertyPathComparisonCode { get; }

Property Value

int

UserData

public object UserData { get; set; }

Property Value

object

ValueType

public Type ValueType { get; }

Property Value

Type

Methods

Apply(double)

public void Apply(double time)

Parameters

time double

CalcValue(double)

public T CalcValue(double time)

Parameters

time double

Returns

T

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

ExecuteTrigger(int, double)

public void ExecuteTrigger(int frame, double animationTimeCorrection)

Parameters

frame int
animationTimeCorrection double

ExecuteTriggersInRange(double, double, bool)

public void ExecuteTriggersInRange(double minTime, double maxTime, bool executeTriggerAtMaxTime)

Parameters

minTime double
maxTime double
executeTriggerAtMaxTime bool

ResetCache()

public void ResetCache()

SetValue(T)

public void SetValue(T value)

Parameters

value T

Unbind()

public void Unbind()