![]() |
VR Interaction Framework v2.0
|
A simple alternative to the TrackedPoseDriver component. Feel free to swap this out with a TrackedPoseDriver from the XR Legacy Input Helpers package or using the new Unity Input System. More...
Public Member Functions | |
virtual void | RefreshDeviceStatus () |
virtual void | UpdateDevice () |
Vector3 | GetHMDLocalPosition () |
InputDevice | GetHMD () |
Quaternion | GetHMDLocalRotation () |
Vector3 | GetControllerLocalPosition (ControllerHandedness handSide) |
Quaternion | GetControllerLocalRotation (ControllerHandedness handSide) |
InputDevice | GetLeftController () |
InputDevice | GetRightController () |
Public Attributes | |
TrackableXRDevice | Device = TrackableXRDevice.HMD |
Protected Member Functions | |
virtual void | Awake () |
virtual void | OnEnable () |
virtual void | OnDisable () |
virtual void | Update () |
virtual void | FixedUpdate () |
virtual void | OnBeforeRender () |
Protected Attributes | |
InputDevice | deviceToTrack |
Vector3 | initialLocalPosition |
Quaternion | initialLocalRotation |
Vector3 | currentLocalPosition |
Quaternion | currentLocalRotation |
A simple alternative to the TrackedPoseDriver component. Feel free to swap this out with a TrackedPoseDriver from the XR Legacy Input Helpers package or using the new Unity Input System.
|
protectedvirtual |
|
protectedvirtual |
Vector3 BNG.XRTrackedPoseDriver.GetControllerLocalPosition | ( | ControllerHandedness | handSide | ) |
Quaternion BNG.XRTrackedPoseDriver.GetControllerLocalRotation | ( | ControllerHandedness | handSide | ) |
InputDevice BNG.XRTrackedPoseDriver.GetHMD | ( | ) |
Vector3 BNG.XRTrackedPoseDriver.GetHMDLocalPosition | ( | ) |
Quaternion BNG.XRTrackedPoseDriver.GetHMDLocalRotation | ( | ) |
InputDevice BNG.XRTrackedPoseDriver.GetLeftController | ( | ) |
InputDevice BNG.XRTrackedPoseDriver.GetRightController | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
protected |
|
protected |
TrackableXRDevice BNG.XRTrackedPoseDriver.Device = TrackableXRDevice.HMD |
|
protected |
|
protected |
|
protected |