Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

PropertySceneHandle.SetFloat

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

Parameters

streamThe AnimationStream managing this handle.
valueThe new float property value.

Description

Sets the float property value to an object in the Scene.

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

Did you find this page useful? Please give it a rating: