|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ray | |
---|---|
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 | |
---|---|
Ray |
Camera.getPickRay(float screenX,
float screenY)
Creates a picking Ray from the coordinates given in screen coordinates. |
Ray |
Camera.getPickRay(float screenX,
float screenY,
float viewportX,
float viewportY,
float viewportWidth,
float viewportHeight)
Creates a picking Ray from 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 | |
---|---|
static boolean |
Intersector.intersectRayBounds(Ray ray,
BoundingBox box,
Vector3 intersection)
Intersects a Ray and a BoundingBox , returning the intersection point in intersection. |
static boolean |
Intersector.intersectRayBoundsFast(Ray ray,
BoundingBox box)
Quick check whether the given Ray and BoundingBox intersect. |
static boolean |
Intersector.intersectRayBoundsFast(Ray ray,
Vector3 center,
Vector3 dimensions)
Quick check whether the given Ray and BoundingBox intersect. |
static boolean |
Intersector.intersectRayPlane(Ray ray,
Plane plane,
Vector3 intersection)
Intersects a Ray and a Plane . |
static boolean |
Intersector.intersectRaySphere(Ray ray,
Vector3 center,
float radius,
Vector3 intersection)
Intersects a Ray and a sphere, returning the intersection point in intersection. |
static boolean |
Intersector.intersectRayTriangle(Ray ray,
Vector3 t1,
Vector3 t2,
Vector3 t3,
Vector3 intersection)
Intersect a Ray and a triangle, returning the intersection point in intersection. |
static boolean |
Intersector.intersectRayTriangles(Ray ray,
float[] vertices,
short[] indices,
int vertexSize,
Vector3 intersection)
Intersects the given ray with list of triangles. |
static boolean |
Intersector.intersectRayTriangles(Ray ray,
float[] triangles,
Vector3 intersection)
Intersects the given ray with list of triangles. |
static boolean |
Intersector.intersectRayTriangles(Ray ray,
List<Vector3> triangles,
Vector3 intersection)
Intersects the given ray with list of triangles. |
Uses of Ray in com.badlogic.gdx.math.collision |
---|
Methods in com.badlogic.gdx.math.collision that return Ray | |
---|---|
Ray |
Ray.cpy()
|
Ray |
Ray.mul(Matrix4 matrix)
Multiplies the ray by the given matrix. |
Ray |
Ray.set(float x,
float y,
float z,
float dx,
float dy,
float dz)
Sets this ray from the given starting position and direction. |
Ray |
Ray.set(Ray ray)
Sets the starting position and direction from the given ray |
Ray |
Ray.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 | |
---|---|
Ray |
Ray.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 | |
---|---|
Ray |
Viewport.getPickRay(float screenX,
float screenY)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |