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

PropertySceneHandle.GetBool

Switch to Manual
public bool GetBool (Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream managing this handle.

Returns

bool The boolean property value.

Description

Gets the boolean property value from an object in the scene.

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