Inherits MonoBehaviour.
|
| void | Start () |
| |
| void | FixedUpdate () |
| |
| void | TryRaycastHit () |
| | If raycastButton is pressed, attempt to raycast to valid target and activate valid raycastTrigger events on the target More...
|
| |
◆ StateCode
| Enumerator |
|---|
| NULL | |
| HIT | |
| HOLD | |
| END | |
◆ ChangeStaticHandColor()
| void C2M2.Interaction.RaycastForward.ChangeStaticHandColor |
( |
Color |
color | ) |
|
◆ FixedUpdate()
| void C2M2.Interaction.RaycastForward.FixedUpdate |
( |
| ) |
|
|
private |
◆ Start()
| void C2M2.Interaction.RaycastForward.Start |
( |
| ) |
|
|
private |
◆ TryRaycastHit()
| void C2M2.Interaction.RaycastForward.TryRaycastHit |
( |
| ) |
|
|
private |
If raycastButton is pressed, attempt to raycast to valid target and activate valid raycastTrigger events on the target
Don't draw the line renderer
◆ activeObjectID
| int C2M2.Interaction.RaycastForward.activeObjectID = -1 |
|
private |
◆ activeTriggerManager
◆ clicked
| bool C2M2.Interaction.RaycastForward.clicked = false |
|
private |
◆ currentState
◆ defaultHandObject
| GameObject C2M2.Interaction.RaycastForward.defaultHandObject |
◆ endAmp
| float C2M2.Interaction.RaycastForward.endAmp = 0f |
◆ endCol
| Color C2M2.Interaction.RaycastForward.endCol = Color.yellow |
◆ endTriggered
| bool C2M2.Interaction.RaycastForward.endTriggered |
|
private |
◆ hapFreq
| float C2M2.Interaction.RaycastForward.hapFreq = 0.5f |
◆ hitAmp
| float C2M2.Interaction.RaycastForward.hitAmp = 0.9f |
◆ hitCol
| Color C2M2.Interaction.RaycastForward.hitCol = Color.red |
◆ hitTriggered
| bool C2M2.Interaction.RaycastForward.hitTriggered |
|
private |
◆ holdAmp
| float C2M2.Interaction.RaycastForward.holdAmp = 0.3f |
◆ holdCol
| Color C2M2.Interaction.RaycastForward.holdCol = new Color(1f, 0.6f, 0f) |
◆ holdTriggered
| bool C2M2.Interaction.RaycastForward.holdTriggered |
|
private |
◆ hysteresisDist
| float C2M2.Interaction.RaycastForward.hysteresisDist = 0.03f |
◆ invisible
| bool C2M2.Interaction.RaycastForward.invisible = false |
|
private |
◆ layerMask
| LayerMask C2M2.Interaction.RaycastForward.layerMask |
◆ lineRend
| LineRenderer C2M2.Interaction.RaycastForward.lineRend |
|
private |
◆ minHitDist
| float C2M2.Interaction.RaycastForward.minHitDist = 0.01f |
◆ mouseMode
| bool C2M2.Interaction.RaycastForward.mouseMode = false |
◆ nullAmp
| float C2M2.Interaction.RaycastForward.nullAmp = 0f |
◆ nullCol
| Color C2M2.Interaction.RaycastForward.nullCol = Color.cyan |
◆ raycastButton
| OVRInput.Button C2M2.Interaction.RaycastForward.raycastButton = OVRInput.Button.One |
◆ raycastController
| OVRInput.Controller C2M2.Interaction.RaycastForward.raycastController = OVRInput.Controller.RTouch |
◆ relativeForward
| Vector3 C2M2.Interaction.RaycastForward.relativeForward = new Vector3(0, 0, 1) |
|
private |
◆ rightHand
| bool C2M2.Interaction.RaycastForward.rightHand = true |
◆ staticHandObject
| GameObject C2M2.Interaction.RaycastForward.staticHandObject |
◆ staticIndexRenderer
| MeshRenderer C2M2.Interaction.RaycastForward.staticIndexRenderer |
◆ touched
| bool C2M2.Interaction.RaycastForward.touched = false |
|
private |
◆ triggerButton
| OVRInput.Button C2M2.Interaction.RaycastForward.triggerButton = OVRInput.Button.PrimaryIndexTrigger |
◆ valid
| bool C2M2.Interaction.RaycastForward.valid = false |
|
private |
◆ validEndEvent
| bool C2M2.Interaction.RaycastForward.validEndEvent |
|
private |
◆ validHitEvent
| bool C2M2.Interaction.RaycastForward.validHitEvent |
|
private |
◆ validHoldEvent
| bool C2M2.Interaction.RaycastForward.validHoldEvent |
|
private |
The documentation for this class was generated from the following file:
- C:/Users/Jacob Wells/Desktop/C2M2/NeuroVISOR/Assets/Scripts/C2M2/Interaction/RaycastForward.cs