AnimancerUtilities.

TryGetAverageAngularSpeed(Object, float) Method

Summary

Outputs the UnityEngine.Motion.averageAngularSpeed or Animancer.IMotion.AverageAngularSpeed.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static bool TryGetAverageAngularSpeed(Object motion, out float averageAngularSpeed)

Remarks

Returns false if the `motion` is null or an unsupported type.

Parameters

Name Type Description
motion Object
averageAngularSpeed float

Return Value

Type Description
bool