Interface for reading and writing inputs in a Unity Cluster.
/// <summary> /// <para>Returns the rotation of a tracker as a Quaternion.</para> /// </summary> /// <param name="name">Name of input to poll.</param> public static Quaternion GetTrackerRotation(string name) { Quaternion result; ClusterInput.INTERNAL_CALL_GetTrackerRotation(name, out result); return(result); }
public static Quaternion GetTrackerRotation(string name) { Quaternion result; ClusterInput.GetTrackerRotation_Injected(name, out result); return(result); }
/// <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); }
public static Vector3 GetTrackerPosition(string name) { Vector3 result; ClusterInput.GetTrackerPosition_Injected(name, out result); return(result); }
/// <summary> /// <para>Returns the rotation of a tracker as a Quaternion.</para> /// </summary> /// <param name="name">Name of input to poll.</param> public static Quaternion GetTrackerRotation(string name) { Quaternion quaternion; ClusterInput.INTERNAL_CALL_GetTrackerRotation(name, out quaternion); return(quaternion); }
/// <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 vector3; ClusterInput.INTERNAL_CALL_GetTrackerPosition(name, out vector3); return(vector3); }
static public int constructor(IntPtr l) { try { UnityEngine.ClusterInput o; o = new UnityEngine.ClusterInput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
public static int constructor(IntPtr l) { try { UnityEngine.ClusterInput o; o=new UnityEngine.ClusterInput(); pushValue(l,true); pushValue(l,o); return 2; } catch(Exception e) { return error(l,e); } }
/// <summary> /// <para>Sets the tracker rotation for this input. Only works for input typed Custom.</para> /// </summary> /// <param name="name">Name of input to modify.</param> /// <param name="value">Value to set.</param> public static void SetTrackerRotation(string name, Quaternion value) { ClusterInput.INTERNAL_CALL_SetTrackerRotation(name, ref value); }
/// <summary> /// <para>Sets the tracker position for this input. Only works for input typed Custom.</para> /// </summary> /// <param name="name">Name of input to modify.</param> /// <param name="value">Value to set.</param> public static void SetTrackerPosition(string name, Vector3 value) { ClusterInput.INTERNAL_CALL_SetTrackerPosition(name, ref value); }
public static void SetTrackerRotation(string name, Quaternion value) { ClusterInput.SetTrackerRotation_Injected(name, ref value); }
public static void SetTrackerPosition(string name, Vector3 value) { ClusterInput.SetTrackerPosition_Injected(name, ref value); }