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

AnimationStream.AsHuman

Declaration

public Experimental.Animations.AnimationHumanStream AsHuman();

Returns

AnimationHumanStream Returns the same stream, but as an AnimationHumanStream.

Description

Gets the same stream, but as an AnimationHumanStream.

This function throws an InvalidOperationException is the avatar is not a humanoid.

See Also: isHumanStream.