UnityEngine.ClusterInput.INTERNAL_CALL_GetTrackerPosition C# (CSharp) Method

INTERNAL_CALL_GetTrackerPosition() private method

private INTERNAL_CALL_GetTrackerPosition ( string name, Vector3 &value ) : void
name string
value Vector3
return void
        private static extern void INTERNAL_CALL_GetTrackerPosition(string name, out Vector3 value);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
        /// <summary>
        ///   <para>Return the position of a tracker as a Vector3.</para>
        /// </summary>
        /// <param name="name">Name of input to poll.</param>
        public static Vector3 GetTrackerPosition(string name)
        {
            Vector3 result;

            ClusterInput.INTERNAL_CALL_GetTrackerPosition(name, out result);
            return(result);
        }
All Usage Examples Of UnityEngine.ClusterInput::INTERNAL_CALL_GetTrackerPosition