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

TransformStreamHandle.GetLocalRotation

public Quaternion GetLocalRotation(Experimental.Animations.AnimationStream stream);

Parameters

streamThe AnimationStream that holds the animated values.

Returns

Quaternion The rotation of the transform relative to the parent.

Description 描述

Gets the rotation of the transform relative to the parent.