Show / Hide Table of Contents

Class VRTestMock

Inheritance
Object
VRTestMock
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Internal.VR
Assembly: UnityEngine.dll
Syntax
public static class VRTestMock

Methods

AddController(String)

Declaration
public static void AddController(string controllerName)
Parameters
Type Name Description
String controllerName

AddTrackedDevice(XRNode)

Declaration
public static void AddTrackedDevice(XRNode nodeType)
Parameters
Type Name Description
XRNode nodeType

Reset()

Declaration
public static void Reset()
| Improve this Doc View Source

UpdateCenterEye(Vector3, Quaternion)

Declaration
public static void UpdateCenterEye(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation

UpdateControllerAxis(String, Int32, Single)

Declaration
public static void UpdateControllerAxis(string controllerName, int axis, float value)
Parameters
Type Name Description
String controllerName
Int32 axis
Single value

UpdateControllerButton(String, Int32, Boolean)

Declaration
public static void UpdateControllerButton(string controllerName, int button, bool pressed)
Parameters
Type Name Description
String controllerName
Int32 button
Boolean pressed
| Improve this Doc View Source

UpdateHead(Vector3, Quaternion)

Declaration
public static void UpdateHead(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation
| Improve this Doc View Source

UpdateLeftEye(Vector3, Quaternion)

Declaration
public static void UpdateLeftEye(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation
| Improve this Doc View Source

UpdateLeftHand(Vector3, Quaternion)

Declaration
public static void UpdateLeftHand(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation
| Improve this Doc View Source

UpdateRightEye(Vector3, Quaternion)

Declaration
public static void UpdateRightEye(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation
| Improve this Doc View Source

UpdateRightHand(Vector3, Quaternion)

Declaration
public static void UpdateRightHand(Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Vector3 position
Quaternion rotation
| Improve this Doc View Source

UpdateTrackedDevice(XRNode, Vector3, Quaternion)

Declaration
public static void UpdateTrackedDevice(XRNode nodeType, Vector3 position, Quaternion rotation)
Parameters
Type Name Description
XRNode nodeType
Vector3 position
Quaternion rotation
  • Improve this Doc
  • View Source
Back to top Generated by DocFX