Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

PropertyStreamHandle.GetFloat

Switch to Manual
public float GetFloat (Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream that holds 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.