![]() |
Neuro-VISOR
0.2.0
Visualize and interact with computational simulations using a virtual reality interface
|
Attach this script to parent gameObject, create one child with one raycast trigger per child. Switch between triggers by index or switch the active trigger to any custom RaycastTrigger instance. More...
Inherits MonoBehaviour.
Public Types | |
enum class | EventType { Hit , Hold , End } |
Public Member Functions | |
void | TriggerChangeRight (RaycastPressEvents trigger) |
void | TriggerChangeLeft (RaycastPressEvents trigger) |
void | TriggerChangeBoth (RaycastPressEvents trigger) |
void | TriggerEmptyRight () |
void | TriggerEmptyLeft () |
void | TriggerEmptyBoth () |
void | HoverEvent (bool rightHand, RaycastHit hit) |
void | HoverEndEvent (bool rightHand, RaycastHit hit) |
void | PressEvent (bool rightHand, RaycastHit hit) |
void | HoldEvent (bool rightHand, RaycastHit hit) |
void | EndEvent (bool rightHand, RaycastHit hit) |
void | AllEvents (bool rightHand, RaycastHit hit) |
void | PressEventNull (bool rightHand) |
void | HoldEventNull (bool rightHand) |
void | EndEventNull (bool rightHand) |
void | AllEventsNull (bool rightHand) |
override string | ToString () |
Public Attributes | |
RaycastPressEvents | rightTrigger = null |
RaycastPressEvents | leftTrigger = null |
Properties | |
RaycastPressEvents | LRTrigger [set] |
Private Member Functions | |
void | Awake () |
Private Attributes | |
RaycastPressEvents | emptyTrigger = null |
Static Private Attributes | |
static RaycastHit | nullHit = new RaycastHit() |
Attach this script to parent gameObject, create one child with one raycast trigger per child. Switch between triggers by index or switch the active trigger to any custom RaycastTrigger instance.
|
strong |
void C2M2.Interaction.RaycastEventManager.AllEvents | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.AllEventsNull | ( | bool | rightHand | ) |
|
private |
void C2M2.Interaction.RaycastEventManager.EndEvent | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.EndEventNull | ( | bool | rightHand | ) |
void C2M2.Interaction.RaycastEventManager.HoldEvent | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.HoldEventNull | ( | bool | rightHand | ) |
void C2M2.Interaction.RaycastEventManager.HoverEndEvent | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.HoverEvent | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.PressEvent | ( | bool | rightHand, |
RaycastHit | hit | ||
) |
void C2M2.Interaction.RaycastEventManager.PressEventNull | ( | bool | rightHand | ) |
override string C2M2.Interaction.RaycastEventManager.ToString | ( | ) |
void C2M2.Interaction.RaycastEventManager.TriggerChangeBoth | ( | RaycastPressEvents | trigger | ) |
void C2M2.Interaction.RaycastEventManager.TriggerChangeLeft | ( | RaycastPressEvents | trigger | ) |
void C2M2.Interaction.RaycastEventManager.TriggerChangeRight | ( | RaycastPressEvents | trigger | ) |
void C2M2.Interaction.RaycastEventManager.TriggerEmptyBoth | ( | ) |
void C2M2.Interaction.RaycastEventManager.TriggerEmptyLeft | ( | ) |
void C2M2.Interaction.RaycastEventManager.TriggerEmptyRight | ( | ) |
|
private |
RaycastPressEvents C2M2.Interaction.RaycastEventManager.leftTrigger = null |
|
staticprivate |
RaycastPressEvents C2M2.Interaction.RaycastEventManager.rightTrigger = null |
|
set |