Interpolation class
Takes a linear value in the range 0-1 and outputs a usually non-linear, interpolated value.
Constructors
-
Interpolation.fromPointer(Pointer<
spine_interpolation_wrapper> _ptr)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nativePtr
→ Pointer<
NativeType> -
Get the native pointer for FFI calls
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
circle(
) → Interpolation -
fastSlow(
) → Interpolation - Fast, then slow.
-
linear(
) → Interpolation -
slowFast(
) → Interpolation - Slow, then fast.
-
smooth(
) → Interpolation - Aka "smoothstep".