Version: 2019.1
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 hold 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.