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; }
public ViveColliderTriggerValueEventData(IColliderEventCaster eventCaster, HandRole hand, int axisId = 0) : base(eventCaster, Dim.d1, axisId) { viveRole = ViveRoleProperty.New(hand); }
public ViveColliderPadAxisEventData(IColliderEventCaster eventCaster, HandRole hand, int axisId = 0) : base(eventCaster, Dim.d2, axisId) { viveRole = ViveRoleProperty.New(hand); }
public ViveColliderButtonEventData(IColliderEventCaster eventCaster, HandRole hand, ControllerButton viveButton, int buttonId = 0) : base(eventCaster, buttonId) { viveRole = ViveRoleProperty.New(hand); this.viveButton = viveButton; }