AnimancerUtilities.

TryGetFrameRate(Object, float) Method

Summary

Attempts to get the UnityEngine.AnimationClip.frameRate from the `clipSource` and returns true if successful. If it has multiple animations with different rates, this method returns false.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static bool TryGetFrameRate(Object clipSource, out float frameRate)

Parameters

Name Type Description
clipSource Object
frameRate float

Return Value

Type Description
bool