Table of Contents

Class AnimationProxy.AnimationMontageNode

Namespace
Ceres.Gameplay.Animations
Assembly
Ceres.Gameplay.dll
public class AnimationProxy.AnimationMontageNode : AnimationProxy.AnimationPlayableNode, IDisposable
Inheritance
AnimationProxy.AnimationMontageNode
Implements
Derived
Inherited Members

Constructors

AnimationMontageNode(Playable, RuntimeAnimatorController)

public AnimationMontageNode(Playable playable, RuntimeAnimatorController runtimeAnimatorController)

Parameters

playable Playable
runtimeAnimatorController RuntimeAnimatorController

Fields

BlendHandle

public SchedulerHandle BlendHandle

Field Value

SchedulerHandle

Child

public AnimationProxy.AnimationPlayableNode Child

Field Value

AnimationProxy.AnimationPlayableNode

Parent

public AnimationProxy.AnimationMontageNode Parent

Field Value

AnimationProxy.AnimationMontageNode

Methods

Blend(float)

Cross-fade parent to child by weight

public virtual void Blend(float weight)

Parameters

weight float

CanShrink()

Whether node can be shrink to optimize graph structure when parent is completly blend out

public virtual bool CanShrink()

Returns

bool

CreateEmptyMontage(PlayableGraph)

Create empty montage

public static AnimationProxy.AnimationMontageNode CreateEmptyMontage(PlayableGraph graph)

Parameters

graph PlayableGraph

Returns

AnimationProxy.AnimationMontageNode

CreateLayerMontage(AnimationMontageNode[], LayerContext[])

Create layer montage

public static AnimationProxy.AnimationLayerMontageNode CreateLayerMontage(AnimationProxy.AnimationMontageNode[] sources, AnimationProxy.LayerContext[] contexts)

Parameters

sources AnimationMontageNode[]
contexts LayerContext[]

Returns

AnimationProxy.AnimationLayerMontageNode

CreateMontage(AnimationMontageNode, AnimationPlayableNode)

Create blendable montage from parent montage to child playable

public static AnimationProxy.AnimationMontageNode CreateMontage(AnimationProxy.AnimationMontageNode parent, AnimationProxy.AnimationPlayableNode source)

Parameters

parent AnimationProxy.AnimationMontageNode
source AnimationProxy.AnimationPlayableNode

Returns

AnimationProxy.AnimationMontageNode

CreateMontage(AnimationPlayableNode)

Create blendable montage with child only, parent is out of proxy scope

public static AnimationProxy.AnimationMontageNode CreateMontage(AnimationProxy.AnimationPlayableNode source)

Parameters

source AnimationProxy.AnimationPlayableNode

Returns

AnimationProxy.AnimationMontageNode

Dispose()

Dispose playable resources recursively

public override void Dispose()

GetBlendWeight()

Get cross-fade current weight

public virtual float GetBlendWeight()

Returns

float

IsCompositeRoot()

Whether node is composite root, which is child only

public bool IsCompositeRoot()

Returns

bool

ScheduleBlendIn(float, Action)

public void ScheduleBlendIn(float duration, Action callBack = null)

Parameters

duration float
callBack Action

ScheduleBlendOut(float, Action)

public void ScheduleBlendOut(float duration, Action callBack = null)

Parameters

duration float
callBack Action

Shrink()

Shrink link list to release not used playables

public AnimationProxy.AnimationMontageNode Shrink()

Returns

AnimationProxy.AnimationMontageNode

Current leaf node

Operators

operator |(AnimationMontageNode, AnimationPlayableNode)

public static AnimationProxy.AnimationMontageNode operator |(AnimationProxy.AnimationMontageNode left, AnimationProxy.AnimationPlayableNode right)

Parameters

left AnimationProxy.AnimationMontageNode
right AnimationProxy.AnimationPlayableNode

Returns

AnimationProxy.AnimationMontageNode