Table of Contents

Class AnimationBlender

Namespace
Lime
Assembly
Lime.dll
[UpdateStage(typeof(EarlyUpdateStage))]
public class AnimationBlender : BehaviorComponent, IDisposable, IAnimable
Inheritance
AnimationBlender
Implements
Inherited Members
Extension Methods

Properties

Enabled

public bool Enabled { get; set; }

Property Value

bool

Options

[YuzuMember]
public Dictionary<string, AnimationBlending> Options { get; }

Property Value

Dictionary<string, AnimationBlending>

Methods

Attach(Animation, string, string)

public void Attach(Animation animation, string markerId, string sourceMarkerId = null)

Parameters

animation Animation
markerId string
sourceMarkerId string

ClearBlendings()

public void ClearBlendings()

Start()

Start is called on the frame in which the component had added just before Update method is called first time. Note: Start doesn't called immediately at the time it is adding.

protected override void Start()

Stop(Node)

Stop is called immediately after component had removed

protected override void Stop(Node owner)

Parameters

owner Node

Previous owner node.

Update(Animation, double)

public void Update(Animation animation, double delta)

Parameters

animation Animation
delta double

Update(float)

Update is called on every frame if the owner node isn't frozen and the behavior isn't suspended.

protected override void Update(float delta)

Parameters

delta float

Elapsed time between frames.

UpdateWantedState(Animation)

public void UpdateWantedState(Animation animation)

Parameters

animation Animation