Package com.prineside.luaj.mapping.parts
Class LJ_GDX_graphics_g3d_utils.MeshPartBuilder_M.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics_g3d_utils.MeshPartBuilder_M.LIP
- All Implemented Interfaces:
com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_graphics_g3d_utils.MeshPartBuilder_M
public static class LJ_GDX_graphics_g3d_utils.MeshPartBuilder_M.LIP
extends InterfaceProxy
implements com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMesh
(float[] p1, short[] p2) Copies a mesh to the mesh (part) currently being build.void
addMesh
(float[] p1, short[] p2, int p3, int p4) Copies a (part of a) mesh to the mesh (part) currently being build.void
addMesh
(com.badlogic.gdx.graphics.g3d.model.MeshPart p1) Copies a MeshPart to the mesh (part) currently being build.void
addMesh
(com.badlogic.gdx.graphics.Mesh p1) Copies a mesh to the mesh (part) currently being build.void
addMesh
(com.badlogic.gdx.graphics.Mesh p1, int p2, int p3) Copies a (part of a) mesh to the mesh (part) currently being build.void
arrow
(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, int p9) void
box
(float p1, float p2, float p3) void
box
(float p1, float p2, float p3, float p4, float p5, float p6) void
box
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p5, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p6, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p7, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p8) void
box
(com.badlogic.gdx.math.Matrix4 p1) void
box
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7, com.badlogic.gdx.math.Vector3 p8) void
capsule
(float p1, float p2, int p3) void
circle
(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8) void
circle
(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10) void
circle
(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14) void
circle
(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16) void
circle
(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4) void
circle
(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, float p5, float p6) void
circle
(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6) void
circle
(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, float p7, float p8) void
cone
(float p1, float p2, float p3, int p4) void
cone
(float p1, float p2, float p3, int p4, float p5, float p6) void
cylinder
(float p1, float p2, float p3, int p4) void
cylinder
(float p1, float p2, float p3, int p4, float p5, float p6) void
cylinder
(float p1, float p2, float p3, int p4, float p5, float p6, boolean p7) void
ellipse
(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11) void
ellipse
(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13) void
ellipse
(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16, float p17, float p18, float p19) void
ellipse
(float p1, float p2, float p3, float p4, int p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7) void
ellipse
(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9) void
ellipse
(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11) void
ellipse
(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15) void
ellipse
(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16, float p17) void
ellipse
(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5) void
ellipse
(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, float p6, float p7) void
ellipse
(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7) void
ellipse
(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7, float p8, float p9) void
ensureCapacity
(int p1, int p2) Increases the size of the backing vertices and indices arrays to accommodate the specified number of additional vertices and indices.void
ensureIndices
(int p1) Increases the size of the backing indices array to accommodate the specified number of additional indices.void
ensureRectangleIndices
(int p1) Increases the size of the backing indices array to accommodate the specified number of additional rectangles.void
ensureTriangleIndices
(int p1) Increases the size of the backing indices array to accommodate the specified number of additional triangles.void
ensureVertices
(int p1) Increases the size of the backing vertices array to accommodate the specified number of additional vertices.com.badlogic.gdx.graphics.VertexAttributes
com.badlogic.gdx.graphics.g3d.model.MeshPart
int
com.badlogic.gdx.math.Matrix4
getVertexTransform
(com.badlogic.gdx.math.Matrix4 p1) Get the current vertex transformation matrix.void
index
(short p1) Add an index, MeshPartBuilder expects all meshes to be indexed.void
index
(short p1, short p2) Add multiple indices, MeshPartBuilder expects all meshes to be indexed.void
index
(short p1, short p2, short p3) Add multiple indices, MeshPartBuilder expects all meshes to be indexed.void
index
(short p1, short p2, short p3, short p4) Add multiple indices, MeshPartBuilder expects all meshes to be indexed.void
index
(short p1, short p2, short p3, short p4, short p5, short p6) Add multiple indices, MeshPartBuilder expects all meshes to be indexed.void
index
(short p1, short p2, short p3, short p4, short p5, short p6, short p7, short p8) Add multiple indices, MeshPartBuilder expects all meshes to be indexed.boolean
Indicates whether vertex transformation is enabled.int
void
line
(float p1, float p2, float p3, float p4, float p5, float p6) Add a line.void
line
(short p1, short p2) Add a line by indices.void
line
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2) Add a line.void
line
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.graphics.Color p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.graphics.Color p4) Add a line.void
line
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2) Add a line.void
patch
(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, int p16, int p17) void
patch
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4, int p5, int p6) void
patch
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, int p6, int p7) void
rect
(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15) Add a rectangle Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.void
rect
(short p1, short p2, short p3, short p4) Add a rectangle by indices.void
rect
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4) Add a rectangle.void
rect
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5) Add a rectangle.void
setColor
(float p1, float p2, float p3, float p4) Set the color used to tint the vertex color, defaults to white.void
setColor
(com.badlogic.gdx.graphics.Color p1) Set the color used to tint the vertex color, defaults to white.void
setUVRange
(float p1, float p2, float p3, float p4) Set range of texture coordinates used (default is 0,0,1,1).void
setUVRange
(com.badlogic.gdx.graphics.g2d.TextureRegion p1) Set range of texture coordinates from the specified TextureRegion.void
setVertexTransform
(com.badlogic.gdx.math.Matrix4 p1) Set the current vertex transformation matrix and enables vertex transformation.void
setVertexTransformationEnabled
(boolean p1) Sets whether vertex transformation is enabled.void
sphere
(float p1, float p2, float p3, int p4, int p5) void
sphere
(float p1, float p2, float p3, int p4, int p5, float p6, float p7, float p8, float p9) void
sphere
(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, int p5, int p6) void
sphere
(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, int p5, int p6, float p7, float p8, float p9, float p10) void
triangle
(short p1, short p2, short p3) Add a triangle by indices.void
triangle
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3) Add a triangle.void
triangle
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.graphics.Color p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.graphics.Color p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.graphics.Color p6) Add a triangle.void
triangle
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3) Add a triangle.short
vertex
(float[] p1) Add one or more vertices, returns the index of the last vertex added.short
vertex
(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1) Add a vertex, returns the index.short
vertex
(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.graphics.Color p3, com.badlogic.gdx.math.Vector2 p4) Add a vertex, returns the index.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
addMesh
public void addMesh(com.badlogic.gdx.graphics.Mesh p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Copies a mesh to the mesh (part) currently being build.- Specified by:
addMesh
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The mesh to copy, must have the same vertex attributes and must be indexed.
-
addMesh
public void addMesh(com.badlogic.gdx.graphics.g3d.model.MeshPart p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Copies a MeshPart to the mesh (part) currently being build.- Specified by:
addMesh
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The MeshPart to copy, must have the same vertex attributes, primitive type and must be indexed.
-
addMesh
public void addMesh(float[] p1, short[] p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Copies a mesh to the mesh (part) currently being build. The entire vertices array is added, even if some of the vertices are not indexed by the indices array. If you want to add only the vertices that are actually indexed, then use theMeshPartBuilder.addMesh(float[], short[], int, int)
method instead.- Specified by:
addMesh
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The vertices to copy, must be in the same vertex layout as the mesh being build.p2
- Array containing the indices to copy, each index should be valid in the vertices array.
-
addMesh
public void addMesh(com.badlogic.gdx.graphics.Mesh p1, int p2, int p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Copies a (part of a) mesh to the mesh (part) currently being build.- Specified by:
addMesh
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The mesh to (partly) copy, must have the same vertex attributes and must be indexed.p2
- The zero-based offset of the first index of the part of the mesh to copy.p3
- The number of indices of the part of the mesh to copy.
-
addMesh
public void addMesh(float[] p1, short[] p2, int p3, int p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Copies a (part of a) mesh to the mesh (part) currently being build.- Specified by:
addMesh
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The vertices to (partly) copy, must be in the same vertex layout as the mesh being build.p2
- Array containing the indices to (partly) copy, each index should be valid in the vertices array.p3
- The zero-based offset of the first index of the part of indices array to copy.p4
- The number of indices of the part of the indices array to copy.
-
arrow
public void arrow(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, int p9) - Specified by:
arrow
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
box
public void box(com.badlogic.gdx.math.Matrix4 p1) - Specified by:
box
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
box
public void box(float p1, float p2, float p3) - Specified by:
box
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
box
public void box(float p1, float p2, float p3, float p4, float p5, float p6) - Specified by:
box
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
box
public void box(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7, com.badlogic.gdx.math.Vector3 p8) - Specified by:
box
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
box
public void box(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p5, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p6, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p7, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p8) - Specified by:
box
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
capsule
public void capsule(float p1, float p2, int p3) - Specified by:
capsule
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, float p5, float p6) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, float p7, float p8) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
circle
public void circle(float p1, int p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16) - Specified by:
circle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
cone
public void cone(float p1, float p2, float p3, int p4) - Specified by:
cone
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
cone
public void cone(float p1, float p2, float p3, int p4, float p5, float p6) - Specified by:
cone
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
cylinder
public void cylinder(float p1, float p2, float p3, int p4) - Specified by:
cylinder
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
cylinder
public void cylinder(float p1, float p2, float p3, int p4, float p5, float p6) - Specified by:
cylinder
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
cylinder
public void cylinder(float p1, float p2, float p3, int p4, float p5, float p6, boolean p7) - Specified by:
cylinder
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, float p6, float p7) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, float p3, float p4, int p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.math.Vector3 p6, com.badlogic.gdx.math.Vector3 p7, float p8, float p9) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, int p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16, float p17) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ellipse
public void ellipse(float p1, float p2, float p3, float p4, int p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, float p16, float p17, float p18, float p19) - Specified by:
ellipse
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
ensureCapacity
public void ensureCapacity(int p1, int p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Increases the size of the backing vertices and indices arrays to accommodate the specified number of additional vertices and indices. Useful before adding many vertices and indices to avoid multiple backing array resizes.- Specified by:
ensureCapacity
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The number of vertices you are about to addp2
- The number of indices you are about to add
-
ensureIndices
public void ensureIndices(int p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Increases the size of the backing indices array to accommodate the specified number of additional indices. Useful before adding many indices to avoid multiple backing array resizes.- Specified by:
ensureIndices
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The number of indices you are about to add
-
ensureRectangleIndices
public void ensureRectangleIndices(int p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Increases the size of the backing indices array to accommodate the specified number of additional rectangles. Useful before adding many rectangles usingMeshPartBuilder.rect(short, short, short, short)
to avoid multiple backing array resizes.- Specified by:
ensureRectangleIndices
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The number of rectangles you are about to add
-
ensureTriangleIndices
public void ensureTriangleIndices(int p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Increases the size of the backing indices array to accommodate the specified number of additional triangles. Useful before adding many triangles usingMeshPartBuilder.triangle(short, short, short)
to avoid multiple backing array resizes. The actual number of indices accounted for depends on the primitive type (seeMeshPartBuilder.getPrimitiveType()
).- Specified by:
ensureTriangleIndices
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The number of triangles you are about to add
-
ensureVertices
public void ensureVertices(int p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Increases the size of the backing vertices array to accommodate the specified number of additional vertices. Useful before adding many vertices to avoid multiple backing array resizes.- Specified by:
ensureVertices
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Parameters:
p1
- The number of vertices you are about to add
-
getAttributes
public com.badlogic.gdx.graphics.VertexAttributes getAttributes()- Specified by:
getAttributes
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Returns:
- The
VertexAttributes
available for building.
-
getMeshPart
public com.badlogic.gdx.graphics.g3d.model.MeshPart getMeshPart()- Specified by:
getMeshPart
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Returns:
- The
MeshPart
currently building.
-
getPrimitiveType
public int getPrimitiveType()- Specified by:
getPrimitiveType
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Returns:
- The primitive type used for building, e.g.
GL20.GL_TRIANGLES
orGL20.GL_LINES
.
-
getVertexTransform
public com.badlogic.gdx.math.Matrix4 getVertexTransform(com.badlogic.gdx.math.Matrix4 p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Get the current vertex transformation matrix.- Specified by:
getVertexTransform
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add an index, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1, short p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1, short p2, short p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1, short p2, short p3, short p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1, short p2, short p3, short p4, short p5, short p6) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
index
public void index(short p1, short p2, short p3, short p4, short p5, short p6, short p7, short p8) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.- Specified by:
index
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
isVertexTransformationEnabled
public boolean isVertexTransformationEnabled()Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Indicates whether vertex transformation is enabled.- Specified by:
isVertexTransformationEnabled
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
lastIndex
public int lastIndex()- Specified by:
lastIndex
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
- Returns:
- The index of the last added vertex.
-
line
public void line(short p1, short p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a line by indices. Requires GL_LINES primitive type.- Specified by:
line
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
line
public void line(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a line. Requires GL_LINES primitive type.- Specified by:
line
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
line
public void line(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a line. Requires GL_LINES primitive type.- Specified by:
line
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
line
public void line(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.graphics.Color p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.graphics.Color p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a line. Requires GL_LINES primitive type.- Specified by:
line
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
line
public void line(float p1, float p2, float p3, float p4, float p5, float p6) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a line. Requires GL_LINES primitive type.- Specified by:
line
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
patch
public void patch(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4, int p5, int p6) - Specified by:
patch
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
patch
public void patch(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5, int p6, int p7) - Specified by:
patch
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
patch
public void patch(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15, int p16, int p17) - Specified by:
patch
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
rect
public void rect(short p1, short p2, short p3, short p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a rectangle by indices. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
rect
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
rect
public void rect(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a rectangle. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
rect
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
rect
public void rect(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.math.Vector3 p4, com.badlogic.gdx.math.Vector3 p5) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a rectangle. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
rect
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
rect
public void rect(float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, float p9, float p10, float p11, float p12, float p13, float p14, float p15) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a rectangle Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
rect
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setColor
public void setColor(com.badlogic.gdx.graphics.Color p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Set the color used to tint the vertex color, defaults to white. Only applicable forVertexAttributes.Usage.ColorPacked
orVertexAttributes.Usage.ColorUnpacked
.- Specified by:
setColor
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setColor
public void setColor(float p1, float p2, float p3, float p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Set the color used to tint the vertex color, defaults to white. Only applicable forVertexAttributes.Usage.ColorPacked
orVertexAttributes.Usage.ColorUnpacked
.- Specified by:
setColor
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setUVRange
public void setUVRange(com.badlogic.gdx.graphics.g2d.TextureRegion p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Set range of texture coordinates from the specified TextureRegion.- Specified by:
setUVRange
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setUVRange
public void setUVRange(float p1, float p2, float p3, float p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Set range of texture coordinates used (default is 0,0,1,1).- Specified by:
setUVRange
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setVertexTransform
public void setVertexTransform(com.badlogic.gdx.math.Matrix4 p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Set the current vertex transformation matrix and enables vertex transformation.- Specified by:
setVertexTransform
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
setVertexTransformationEnabled
public void setVertexTransformationEnabled(boolean p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Sets whether vertex transformation is enabled.- Specified by:
setVertexTransformationEnabled
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
sphere
public void sphere(float p1, float p2, float p3, int p4, int p5) - Specified by:
sphere
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
sphere
public void sphere(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, int p5, int p6) - Specified by:
sphere
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
sphere
public void sphere(float p1, float p2, float p3, int p4, int p5, float p6, float p7, float p8, float p9) - Specified by:
sphere
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
sphere
public void sphere(com.badlogic.gdx.math.Matrix4 p1, float p2, float p3, float p4, int p5, int p6, float p7, float p8, float p9, float p10) - Specified by:
sphere
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
triangle
public void triangle(short p1, short p2, short p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a triangle by indices. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
triangle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
triangle
public void triangle(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.math.Vector3 p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a triangle. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
triangle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
triangle
public void triangle(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p2, com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p3) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a triangle. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
triangle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
triangle
public void triangle(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.graphics.Color p2, com.badlogic.gdx.math.Vector3 p3, com.badlogic.gdx.graphics.Color p4, com.badlogic.gdx.math.Vector3 p5, com.badlogic.gdx.graphics.Color p6) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a triangle. Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.- Specified by:
triangle
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
vertex
public short vertex(float[] p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add one or more vertices, returns the index of the last vertex added. The length of values must a power of the vertex size.- Specified by:
vertex
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
vertex
public short vertex(com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo p1) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a vertex, returns the index. UseMeshPartBuilder.getAttributes()
to check which values are available.- Specified by:
vertex
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-
vertex
public short vertex(com.badlogic.gdx.math.Vector3 p1, com.badlogic.gdx.math.Vector3 p2, com.badlogic.gdx.graphics.Color p3, com.badlogic.gdx.math.Vector2 p4) Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
Add a vertex, returns the index. Null values are allowed. UseMeshPartBuilder.getAttributes()
to check which values are available.- Specified by:
vertex
in interfacecom.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder
-