ClipTransitionSequence.

TryGetCumulativeTime(AnimancerState, float) Method

Summary

Tries to calculate the Animancer.AnimancerState.Time relative to the start of this sequence.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ClipTransitionSequence

Syntax

public bool TryGetCumulativeTime(AnimancerState state, out float time)

Parameters

Name Type Description
state AnimancerState
time float

Return Value

Type Description
bool True if this sequence contains a transition matching the `state`. Otherwise false, indicating that it isn't associated with this sequence.