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

PropertySceneHandle.GetFloat

Declaration

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

Parameters

stream The AnimationStream managing this handle.

Returns

float The float property value.

Description

Gets the float property value from an object in the Scene.

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