VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.VREmulator Class Reference
Inheritance diagram for BNG.VREmulator:

Public Member Functions

void OnBeforeRender ()
 
virtual bool HasRequiredFocus ()
 
void CheckHeadControls ()
 
void UpdateInputs ()
 Overwrite InputBridge inputs with our own bindings.
 
void CheckPlayerControls ()
 
virtual void UpdateControllerPositions ()
 
virtual void ResetHands ()
 
virtual void ResetAll ()
 

Public Attributes

bool EmulatorEnabled = true
 
bool EditorOnly = true
 
bool RequireGameFocus = true
 
InputActionAsset EmulatorActionSet
 
bool ForceStraightTeleportRotation = true
 
bool AllowUpDownControls = true
 
InputActionReference PlayerUpAction
 
InputActionReference PlayerDownAction
 
float MinPlayerHeight = 0.2f
 
float MaxPlayerHeight = 5f
 
InputActionReference LockCameraAction
 
InputActionReference CameraLookAction
 
float CameraLookSensitivityX = 0.1f
 
float CameraLookSensitivityY = 0.1f
 
float MinimumCameraY = -90f
 
float MaximumCameraY = 90f
 
InputActionReference LeftGripAction
 
InputActionReference LeftTriggerAction
 
InputActionReference LeftThumbNearAction
 
InputActionReference RightGripAction
 
InputActionReference RightTriggerAction
 
InputActionReference RightThumbNearAction
 
bool HMDIsActive
 
Vector3 LeftControllerPosition = new Vector3(-0.2f, -0.2f, 0.5f)
 
Vector3 RightControllerPosition = new Vector3(0.2f, -0.2f, 0.5f)
 

Member Function Documentation

◆ CheckHeadControls()

void BNG.VREmulator.CheckHeadControls ( )

◆ CheckPlayerControls()

void BNG.VREmulator.CheckPlayerControls ( )

◆ HasRequiredFocus()

virtual bool BNG.VREmulator.HasRequiredFocus ( )
virtual

◆ OnBeforeRender()

void BNG.VREmulator.OnBeforeRender ( )

◆ ResetAll()

virtual void BNG.VREmulator.ResetAll ( )
virtual

◆ ResetHands()

virtual void BNG.VREmulator.ResetHands ( )
virtual

◆ UpdateControllerPositions()

virtual void BNG.VREmulator.UpdateControllerPositions ( )
virtual

◆ UpdateInputs()

void BNG.VREmulator.UpdateInputs ( )

Overwrite InputBridge inputs with our own bindings.

Member Data Documentation

◆ AllowUpDownControls

bool BNG.VREmulator.AllowUpDownControls = true

◆ CameraLookAction

InputActionReference BNG.VREmulator.CameraLookAction

◆ CameraLookSensitivityX

float BNG.VREmulator.CameraLookSensitivityX = 0.1f

◆ CameraLookSensitivityY

float BNG.VREmulator.CameraLookSensitivityY = 0.1f

◆ EditorOnly

bool BNG.VREmulator.EditorOnly = true

◆ EmulatorActionSet

InputActionAsset BNG.VREmulator.EmulatorActionSet

◆ EmulatorEnabled

bool BNG.VREmulator.EmulatorEnabled = true

◆ ForceStraightTeleportRotation

bool BNG.VREmulator.ForceStraightTeleportRotation = true

◆ HMDIsActive

bool BNG.VREmulator.HMDIsActive

◆ LeftControllerPosition

Vector3 BNG.VREmulator.LeftControllerPosition = new Vector3(-0.2f, -0.2f, 0.5f)

◆ LeftGripAction

InputActionReference BNG.VREmulator.LeftGripAction

◆ LeftThumbNearAction

InputActionReference BNG.VREmulator.LeftThumbNearAction

◆ LeftTriggerAction

InputActionReference BNG.VREmulator.LeftTriggerAction

◆ LockCameraAction

InputActionReference BNG.VREmulator.LockCameraAction

◆ MaximumCameraY

float BNG.VREmulator.MaximumCameraY = 90f

◆ MaxPlayerHeight

float BNG.VREmulator.MaxPlayerHeight = 5f

◆ MinimumCameraY

float BNG.VREmulator.MinimumCameraY = -90f

◆ MinPlayerHeight

float BNG.VREmulator.MinPlayerHeight = 0.2f

◆ PlayerDownAction

InputActionReference BNG.VREmulator.PlayerDownAction

◆ PlayerUpAction

InputActionReference BNG.VREmulator.PlayerUpAction

◆ RequireGameFocus

bool BNG.VREmulator.RequireGameFocus = true

◆ RightControllerPosition

Vector3 BNG.VREmulator.RightControllerPosition = new Vector3(0.2f, -0.2f, 0.5f)

◆ RightGripAction

InputActionReference BNG.VREmulator.RightGripAction

◆ RightThumbNearAction

InputActionReference BNG.VREmulator.RightThumbNearAction

◆ RightTriggerAction

InputActionReference BNG.VREmulator.RightTriggerAction

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