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

TransformStreamHandle.GetLocalRotation

Switch to Manual
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.