Struct
FlexMotionTransition

Summary

Syntax

[Serializable]
public struct FlexMotionTransition : ValueType

Constructors

Name Summary
FlexMotionTransition(float, Easing.Functions) Constructor used to ensure proper default values in the inspector.

Fields

Name Field Type Summary
easing Easing.Functions
The easing function to use during the transition.
time float
The duration of the transition.

Methods

Name Return Value Summary
GetTransitionWeight(float, bool) float
Computes the progression of a transition, returning a value between 0f and 1f that is typically used as a weight.
SetEasing(Easing.Functions) void
Sets the easing function to use during the transition.
SetTime(float) void
Sets the duration of the transition.