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

PropertyStreamHandle.SetFloat

Declaration

public void SetFloat(Animations.AnimationStream stream, float value);

Parameters

stream The AnimationStream that holds the animated values.
value The new float property value.

Description

Sets the float property value into a stream.

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