Package ca.nengo.ui.lib.world

Examples of ca.nengo.ui.lib.world.Interactable


  }

  @Override
  public void mouseMoved(PInputEvent event) {

    Interactable obj = getInteractableFromEvent(event);
    mouseMovedInteractableObj = obj;
    mouseMovedCanvasPosition = event.getCanvasPosition();
    setActiveMouseHandler(this);

   
View Full Code Here


 
  /**
   * @return Interactable object
   */
  private Interactable getInteractableFromEvent(PInputEvent event) {
    Interactable obj = (Interactable) Util.getNodeFromPickPath(event, Interactable.class);

    if (obj == null || !world.isAncestorOf(obj)) {
      return null;
    } else {
      return obj;
View Full Code Here

TOP

Related Classes of ca.nengo.ui.lib.world.Interactable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.