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

PropertyStreamHandle.GetBool

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

Parameters

streamThe AnimationStream holding the animated values.

Returns

bool The boolean property value.

Description

Gets the boolean property value from a stream.

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