Nuclide
Software Development Kit for id Tech
xr.h File Reference

Go to the source code of this file.

Functions

void XR_Init (entity)
 Called internally by client/server modules for when a player joins. More...
 
void XR_Shutdown (entity)
 Called internally by client/server modules for when a player leaves. More...
 
bool XR_Available (entity)
 Returns if XR features are available on the entity. More...
 
void XR_InputFrame (entity)
 Called on client/server modules after an input packet has been dispatched. More...
 
void XR_UpdateView (entity)
 Sets up view properties from a client entity before a rendering call. More...
 

Variables

var float autocvar_xr_roomScale = 1.0f
 
var float autocvar_xr_viewHeight = -48.0f
 
var bool autocvar_xr_testInputs = false
 

Function Documentation

◆ XR_Available()

bool XR_Available ( entity  ePlayer)

Returns if XR features are available on the entity.

◆ XR_Init()

void XR_Init ( entity  ePlayer)

Called internally by client/server modules for when a player joins.

◆ XR_InputFrame()

void XR_InputFrame ( entity  ePlayer)

Called on client/server modules after an input packet has been dispatched.

◆ XR_Shutdown()

void XR_Shutdown ( entity  ePlayer)

Called internally by client/server modules for when a player leaves.

◆ XR_UpdateView()

void XR_UpdateView ( entity  ePlayer)

Sets up view properties from a client entity before a rendering call.

Variable Documentation

◆ autocvar_xr_roomScale

var float autocvar_xr_roomScale = 1.0f

◆ autocvar_xr_testInputs

var bool autocvar_xr_testInputs = false

◆ autocvar_xr_viewHeight

var float autocvar_xr_viewHeight = -48.0f