This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

PropertyStreamHandle.GetFloat

Declaration

public float GetFloat(Experimental.Animations.AnimationStream stream);

Parameters

stream The AnimationStream holding the animated values.

Returns

float The float property value.

Description

Gets the float property value from a stream.

If the property is not a float, the method will throw an InvalidOperationException.