Class SphereShapeBuilder
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder
-
- com.badlogic.gdx.graphics.g3d.utils.shapebuilders.SphereShapeBuilder
-
public class SphereShapeBuilder extends BaseShapeBuilder
Helper class with static methods to build sphere shapes usingMeshPartBuilder
.
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder
matTmp1, tmpColor0, tmpColor1, tmpColor2, tmpColor3, tmpColor4, tmpV0, tmpV1, tmpV2, tmpV3, tmpV4, tmpV5, tmpV6, tmpV7, vertTmp0, vertTmp1, vertTmp2, vertTmp3, vertTmp4, vertTmp5, vertTmp6, vertTmp7, vertTmp8
-
-
Constructor Summary
Constructors Constructor Description SphereShapeBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
build(MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV)
static void
build(MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo)
static void
build(MeshPartBuilder builder, Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV)
Deprecated.useMeshPartBuilder.setVertexTransform(Matrix4)
instead of using the method signature taking a matrix.static void
build(MeshPartBuilder builder, Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo)
Deprecated.useMeshPartBuilder.setVertexTransform(Matrix4)
instead of using the method signature taking a matrix.-
Methods inherited from class com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder
freeAll, obtainM4, obtainV3
-
-
-
-
Method Detail
-
build
public static void build(MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV)
-
build
@Deprecated public static void build(MeshPartBuilder builder, Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV)
Deprecated.useMeshPartBuilder.setVertexTransform(Matrix4)
instead of using the method signature taking a matrix.
-
build
public static void build(MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo)
-
build
@Deprecated public static void build(MeshPartBuilder builder, Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo)
Deprecated.useMeshPartBuilder.setVertexTransform(Matrix4)
instead of using the method signature taking a matrix.
-
-