public static class Box2DUtils.ShapeCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
float |
height |
float |
maxX |
float |
maxY |
float |
minX |
float |
minY |
com.badlogic.gdx.math.Vector2[] |
vertices |
float |
width |
| Constructor and Description |
|---|
ShapeCache(com.badlogic.gdx.math.Vector2[] vertices,
float width,
float height,
float minX,
float maxX,
float minY,
float maxY) |
public final com.badlogic.gdx.math.Vector2[] vertices
Box2DUtils.vertices0(Shape)public final float width
Box2DUtils.width0(Shape)public final float height
Box2DUtils.height0(Shape)public final float minX
Box2DUtils.minX0(Shape)public final float maxX
Box2DUtils.maxX0(Shape)public final float minY
Box2DUtils.minY0(Shape)public final float maxY
Box2DUtils.minY0(Shape)public ShapeCache(com.badlogic.gdx.math.Vector2[] vertices,
float width,
float height,
float minX,
float maxX,
float minY,
float maxY)
vertices - the Box2DUtils.vertices(com.badlogic.gdx.physics.box2d.Shape)width - the Box2DUtils.width(com.badlogic.gdx.physics.box2d.Shape)height - the Box2DUtils.height(com.badlogic.gdx.physics.box2d.Shape)minX - the Box2DUtils.minX(com.badlogic.gdx.physics.box2d.Shape)maxX - the Box2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)minY - the Box2DUtils.minY(com.badlogic.gdx.physics.box2d.Shape)maxY - the Box2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)