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

Shows a ring at the grab point of a grabbable if within a certain distance. More...

Inheritance diagram for BNG.RingHelper:

Public Member Functions

virtual void AssignCamera ()
 
virtual void AssignGrabbers ()
 

Public Attributes

Grabbable grabbable
 
GrabPoint Grabpoint
 
Color RingColor = Color.white
 
Color RingSelectedColor = Color.white
 Color to use if selected by primary controller.
 
Color RingSecondarySelectedColor = Color.white
 Color to use if selected by secondary controller.
 
float ringSizeInRange = 1500f
 
float ringSizeGrabbable = 1100f
 
bool HideIfHandsAreFull = true
 Don't show grab rings if left and right controllers / grabbers are holding something.
 
float RingFadeSpeed = 5
 How fast to lerp the opacity if being hidden / shown.
 

Detailed Description

Shows a ring at the grab point of a grabbable if within a certain distance.

Member Function Documentation

◆ AssignCamera()

virtual void BNG.RingHelper.AssignCamera ( )
virtual

◆ AssignGrabbers()

virtual void BNG.RingHelper.AssignGrabbers ( )
virtual

Member Data Documentation

◆ grabbable

Grabbable BNG.RingHelper.grabbable

◆ Grabpoint

GrabPoint BNG.RingHelper.Grabpoint

◆ HideIfHandsAreFull

bool BNG.RingHelper.HideIfHandsAreFull = true

Don't show grab rings if left and right controllers / grabbers are holding something.

◆ RingColor

Color BNG.RingHelper.RingColor = Color.white

◆ RingFadeSpeed

float BNG.RingHelper.RingFadeSpeed = 5

How fast to lerp the opacity if being hidden / shown.

◆ RingSecondarySelectedColor

Color BNG.RingHelper.RingSecondarySelectedColor = Color.white

Color to use if selected by secondary controller.

◆ RingSelectedColor

Color BNG.RingHelper.RingSelectedColor = Color.white

Color to use if selected by primary controller.

◆ ringSizeGrabbable

float BNG.RingHelper.ringSizeGrabbable = 1100f

◆ ringSizeInRange

float BNG.RingHelper.ringSizeInRange = 1500f

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