Пример #1
0
 override public bool EndCapture(InputEvent e)
 {
     return(base.EndCapture(e));
 }
Пример #2
0
 override public bool WantsCapture(InputEvent e)
 {
     return(Enabled && HasGO(e.hit.hitGO));
 }
Пример #3
0
 override public bool BeginCapture(InputEvent e)
 {
     return(true);
 }
Пример #4
0
 override public bool UpdateCapture(InputEvent e)
 {
     return(true);
 }
Пример #5
0
 virtual public void custom_update_capture(InputEvent e)
 {
 }
Пример #6
0
 virtual public void custom_end_capture(InputEvent e)
 {
 }
Пример #7
0
 // subclass can implement these to add custom behaviors
 virtual public bool custom_begin_capture(InputEvent e, GameObjectRayHit hit)
 {
     return(false);
 }
Пример #8
0
 protected virtual void onSliderbarClick(InputEvent e, Vector3f hitPosW)
 {
     FUtil.SafeSendEvent(OnClicked, this, e);
 }
Пример #9
0
        protected virtual void onSliderBarPressDrag(InputEvent e, Vector3f hitPosW)
        {
            double t = get_slider_tx(hitPosW);

            update_value(t, true);
        }
Пример #10
0
 protected virtual void onHandlePress(InputEvent e, Vector3f hitPosW)
 {
     FUtil.SafeSendEvent(OnValueChangeBegin, this, snapped_value);
 }
Пример #11
0
 virtual public bool WantsCapture(InputEvent e)
 {
     return(Widgets.ContainsKey(e.hit.hitGO));
 }