Kanda Players 0.7.0
|
Subscribes to the Application.onBeforeRender callback and updates main camera transform with the latest HMD input from the IOpenXrInputCollector in order to minimize tracking latency for the HMD. More...
Public Member Functions | |
void | Enable () |
Enables the camera updater, applying latest HMD inputs to the main camera transform in Application.onBeforeRender. | |
void | Dispose () |
Properties | |
bool | IsEnabled [get] |
True if this class is currently enabled, updating the main camera. | |
Subscribes to the Application.onBeforeRender callback and updates main camera transform with the latest HMD input from the IOpenXrInputCollector in order to minimize tracking latency for the HMD.
This is important for user comfort. We do it this way because applying these inputs in the ECS update loop results in noticeable input jitter/lag on the main camera.