This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

PropertyStreamHandle.GetBool

Declaration

public bool GetBool(Experimental.Animations.AnimationStream stream);

Parameters

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