Kanda Players 0.7.0
Loading...
Searching...
No Matches
OpenXrInputSystem Struct Reference

Populates all instances of OpenXrHmdInputData or OpenXrHandInputData using InputCollectors. If IPlayerBehaviourSettings.MockXr is true, input will be mocked using Keyboard and Mouse input instead. This allows for imitating VR players in the editor. More...

+ Inheritance diagram for OpenXrInputSystem:

Public Member Functions

void OnCreate (ref SystemState state)
 
void OnUpdate (ref SystemState state)
 

Detailed Description

Populates all instances of OpenXrHmdInputData or OpenXrHandInputData using InputCollectors. If IPlayerBehaviourSettings.MockXr is true, input will be mocked using Keyboard and Mouse input instead. This allows for imitating VR players in the editor.

We run this system in LateSimulationSystemGroup in order to capture HMD inputs at the latest possible time before rendering to improving tracking.


The documentation for this struct was generated from the following file: