Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PropertyStreamHandle.GetFloat

Declaration

public float GetFloat(Animations.AnimationStream stream);

Parameters

stream The 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.