Uses of Class
com.badlogic.gdx.math.collision.Ray
-
Packages that use Ray Package Description com.badlogic.gdx.graphics com.badlogic.gdx.math com.badlogic.gdx.math.collision com.badlogic.gdx.utils.viewport -
-
Uses of Ray in com.badlogic.gdx.graphics
Methods in com.badlogic.gdx.graphics that return Ray Modifier and Type Method Description RayCamera. getPickRay(float screenX, float screenY)Creates a pickingRayfrom the coordinates given in screen coordinates.RayCamera. getPickRay(float screenX, float screenY, float viewportX, float viewportY, float viewportWidth, float viewportHeight)Creates a pickingRayfrom the coordinates given in screen coordinates. -
Uses of Ray in com.badlogic.gdx.math
Methods in com.badlogic.gdx.math with parameters of type Ray Modifier and Type Method Description static booleanIntersector. intersectRayBounds(Ray ray, BoundingBox box, Vector3 intersection)Intersects aRayand aBoundingBox, returning the intersection point in intersection.static booleanIntersector. intersectRayBoundsFast(Ray ray, BoundingBox box)Quick check whether the givenRayandBoundingBoxintersect.static booleanIntersector. intersectRayBoundsFast(Ray ray, Vector3 center, Vector3 dimensions)Quick check whether the givenRayandBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBounds(Ray ray, BoundingBox bounds, Matrix4 transform, Vector3 intersection)Check whether the givenRayandOrientedBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBounds(Ray ray, OrientedBoundingBox obb, Vector3 intersection)Check whether the givenRayandOrientedBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBoundsFast(Ray ray, BoundingBox bounds, Matrix4 transform)Check whether the givenRayand OrientedBoundingBoxintersect.static booleanIntersector. intersectRayOrientedBoundsFast(Ray ray, OrientedBoundingBox obb)Check whether the givenRayandOrientedBoundingBoxintersect.static booleanIntersector. intersectRayPlane(Ray ray, Plane plane, Vector3 intersection)static booleanIntersector. intersectRaySphere(Ray ray, Vector3 center, float radius, Vector3 intersection)Intersects aRayand a sphere, returning the intersection point in intersection.static booleanIntersector. intersectRayTriangle(Ray ray, Vector3 t1, Vector3 t2, Vector3 t3, Vector3 intersection)Intersect aRayand a triangle, returning the intersection point in intersection.static booleanIntersector. intersectRayTriangles(Ray ray, float[] vertices, short[] indices, int vertexSize, Vector3 intersection)Intersects the given ray with list of triangles.static booleanIntersector. intersectRayTriangles(Ray ray, float[] triangles, Vector3 intersection)Intersects the given ray with list of triangles.static booleanIntersector. intersectRayTriangles(Ray ray, java.util.List<Vector3> triangles, Vector3 intersection)Intersects the given ray with list of triangles.floatOctree.Collider. intersects(Ray ray, T geometry)Method to calculate intersection between ray and the geometry.protected voidOctree.OctreeNode. rayCast(Ray ray, Octree.RayCastResult<T> result)TOctree. rayCast(Ray ray, Octree.RayCastResult<T> result) -
Uses of Ray in com.badlogic.gdx.math.collision
Methods in com.badlogic.gdx.math.collision that return Ray Modifier and Type Method Description RayRay. cpy()RayRay. mul(Matrix4 matrix)Multiplies the ray by the given matrix.RayRay. set(float x, float y, float z, float dx, float dy, float dz)Sets this ray from the given starting position and direction.RayRay. set(Ray ray)Sets the starting position and direction from the given rayRayRay. set(Vector3 origin, Vector3 direction)Sets the starting position and the direction of this ray.Methods in com.badlogic.gdx.math.collision with parameters of type Ray Modifier and Type Method Description RayRay. set(Ray ray)Sets the starting position and direction from the given ray -
Uses of Ray in com.badlogic.gdx.utils.viewport
Methods in com.badlogic.gdx.utils.viewport that return Ray Modifier and Type Method Description RayViewport. getPickRay(float screenX, float screenY)
-