Examples of localToDescendantCoordinates()


Examples of com.badlogic.gdx.scenes.scene2d.Group.localToDescendantCoordinates()

      Actor child = children.get(index);

      point.x = x;
      point.y = y;

      root.localToDescendantCoordinates(child, point);

      Actor childHit = root.hit(point.x, point.y, true);

      if (childHit != null && childHit.getClass().isAssignableFrom(targetClass))
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.