VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.UIPointer Class Reference

Point a line at our GazePointer. More...

Inheritance diagram for BNG.UIPointer:

Public Member Functions

void Update ()
 
virtual void UpdatePointer ()
 
virtual void HidePointer ()
 

Public Attributes

ControllerHand ControllerSide = ControllerHand.Right
 
bool AutoUpdateUITransforms = true
 
GameObject cursor
 
bool HidePointerIfNoObjectsFound = true
 
float FixedPointerLength = 0.5f
 
bool CursorScaling = true
 
float CursorMinScale = 0.6f
 
float CursorMaxScale = 6.0f
 
float LineDistanceModifier = 0.8f
 0.5 = Line Goes Half Way. 1 = Line reaches end.
 
LineRenderer lineRenderer
 

Detailed Description

Point a line at our GazePointer.

Member Function Documentation

◆ HidePointer()

virtual void BNG.UIPointer.HidePointer ( )
virtual

◆ Update()

void BNG.UIPointer.Update ( )

◆ UpdatePointer()

virtual void BNG.UIPointer.UpdatePointer ( )
virtual

Member Data Documentation

◆ AutoUpdateUITransforms

bool BNG.UIPointer.AutoUpdateUITransforms = true

◆ ControllerSide

ControllerHand BNG.UIPointer.ControllerSide = ControllerHand.Right

◆ cursor

GameObject BNG.UIPointer.cursor

◆ CursorMaxScale

float BNG.UIPointer.CursorMaxScale = 6.0f

◆ CursorMinScale

float BNG.UIPointer.CursorMinScale = 0.6f

◆ CursorScaling

bool BNG.UIPointer.CursorScaling = true

◆ FixedPointerLength

float BNG.UIPointer.FixedPointerLength = 0.5f

◆ HidePointerIfNoObjectsFound

bool BNG.UIPointer.HidePointerIfNoObjectsFound = true

◆ LineDistanceModifier

float BNG.UIPointer.LineDistanceModifier = 0.8f

0.5 = Line Goes Half Way. 1 = Line reaches end.

◆ lineRenderer

LineRenderer BNG.UIPointer.lineRenderer

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