INTERNAL_CALL_GetLocalPosition() private method

private INTERNAL_CALL_GetLocalPosition ( VRNode node, Vector3 &value ) : void
node VRNode
value Vector3
return void
Example #1
0
        public static Vector3 GetLocalPosition(VRNode node)
        {
            Vector3 result;

            InputTracking.INTERNAL_CALL_GetLocalPosition(node, out result);
            return(result);
        }
Example #2
0
        /// <summary>
        ///   <para>The current position of the requested VRNode.</para>
        /// </summary>
        /// <param name="node">Node index.</param>
        /// <returns>
        ///   <para>Position of node local to its tracking space.</para>
        /// </returns>
        public static Vector3 GetLocalPosition(VRNode node)
        {
            Vector3 vector3;

            InputTracking.INTERNAL_CALL_GetLocalPosition(node, out vector3);
            return(vector3);
        }