INTERNAL_CALL_GetLocalRotation() private method

private INTERNAL_CALL_GetLocalRotation ( VRNode node, Quaternion &value ) : void
node VRNode
value UnityEngine.Quaternion
return void
コード例 #1
0
        public static Quaternion GetLocalRotation(VRNode node)
        {
            Quaternion result;

            InputTracking.INTERNAL_CALL_GetLocalRotation(node, out result);
            return(result);
        }
コード例 #2
0
        /// <summary>
        ///   <para>The current rotation of the requested VRNode.</para>
        /// </summary>
        /// <param name="node">Node index.</param>
        /// <returns>
        ///   <para>Rotation of node local to its tracking space.</para>
        /// </returns>
        public static Quaternion GetLocalRotation(VRNode node)
        {
            Quaternion quaternion;

            InputTracking.INTERNAL_CALL_GetLocalRotation(node, out quaternion);
            return(quaternion);
        }