Kanda Players 0.7.0
|
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...
Public Member Functions | |
void | OnCreate (ref SystemState state) |
void | OnUpdate (ref SystemState state) |
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.