Exemple #1
0
 private void Reset()
 {
     m_inputs.Add(new InputEntry()
     {
         viveRole = ViveRoleProperty.New(HandRole.RightHand),
         button   = ControllerButton.Trigger,
     });
 }
 public VivePointerEventData(Pointer3DRaycaster ownerRaycaster, EventSystem eventSystem, HandRole hand, ControllerButton viveButton, InputButton mouseButton) : base(ownerRaycaster, eventSystem)
 {
     viveRole        = ViveRoleProperty.New(hand);
     this.viveButton = viveButton;
     button          = mouseButton;
 }
Exemple #3
0
 public ViveColliderTriggerValueEventData(IColliderEventCaster eventCaster, HandRole hand, int axisId = 0) : base(eventCaster, Dim.d1, axisId)
 {
     viveRole = ViveRoleProperty.New(hand);
 }
Exemple #4
0
 public ViveColliderPadAxisEventData(IColliderEventCaster eventCaster, HandRole hand, int axisId = 0) : base(eventCaster, Dim.d2, axisId)
 {
     viveRole = ViveRoleProperty.New(hand);
 }
Exemple #5
0
 public ViveColliderButtonEventData(IColliderEventCaster eventCaster, HandRole hand, ControllerButton viveButton, int buttonId = 0) : base(eventCaster, buttonId)
 {
     viveRole        = ViveRoleProperty.New(hand);
     this.viveButton = viveButton;
 }