public class MeshBuilder extends java.lang.Object implements MeshPartBuilder
begin(VertexAttributes) or begin(VertexAttributes, int). To use mesh parts you must call
part(String, int) before you start building the part. The MeshPart itself is only valid after the call to
end().MeshPartBuilder.VertexInfo| Constructor and Description |
|---|
MeshBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMesh(float[] vertices,
short[] indices)
Copies a mesh to the mesh (part) currently being build.
|
void |
addMesh(float[] vertices,
short[] indices,
int indexOffset,
int numIndices)
Copies a (part of a) mesh to the mesh (part) currently being build.
|
void |
addMesh(Mesh mesh)
Copies a mesh to the mesh (part) currently being build.
|
void |
addMesh(Mesh mesh,
int indexOffset,
int numIndices)
Copies a (part of a) mesh to the mesh (part) currently being build.
|
void |
addMesh(MeshPart meshpart)
Copies a MeshPart to the mesh (part) currently being build.
|
void |
arrow(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float capLength,
float stemThickness,
int divisions)
Deprecated.
|
void |
begin(long attributes)
Begin building a mesh.
|
void |
begin(long attributes,
int primitiveType)
Begin building a mesh.
|
void |
begin(VertexAttributes attributes)
Begin building a mesh.
|
void |
begin(VertexAttributes attributes,
int primitiveType)
Begin building a mesh
|
void |
box(float width,
float height,
float depth)
Deprecated.
|
void |
box(float x,
float y,
float z,
float width,
float height,
float depth)
Deprecated.
|
void |
box(Matrix4 transform)
Deprecated.
|
void |
box(MeshPartBuilder.VertexInfo corner000,
MeshPartBuilder.VertexInfo corner010,
MeshPartBuilder.VertexInfo corner100,
MeshPartBuilder.VertexInfo corner110,
MeshPartBuilder.VertexInfo corner001,
MeshPartBuilder.VertexInfo corner011,
MeshPartBuilder.VertexInfo corner101,
MeshPartBuilder.VertexInfo corner111)
Deprecated.
|
void |
box(Vector3 corner000,
Vector3 corner010,
Vector3 corner100,
Vector3 corner110,
Vector3 corner001,
Vector3 corner011,
Vector3 corner101,
Vector3 corner111)
Deprecated.
|
void |
capsule(float radius,
float height,
int divisions)
Deprecated.
|
void |
circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
Deprecated.
|
void |
circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ)
Deprecated.
|
void |
circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
circle(float radius,
int divisions,
Vector3 center,
Vector3 normal)
Deprecated.
|
void |
circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
float angleFrom,
float angleTo)
Deprecated.
|
void |
circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal)
Deprecated.
|
void |
circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal,
float angleFrom,
float angleTo)
Deprecated.
|
void |
clear()
Clears the data being built up until now, including the vertices, indices and all parts.
|
void |
cone(float width,
float height,
float depth,
int divisions)
Deprecated.
|
void |
cone(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo)
Deprecated.
|
static VertexAttributes |
createAttributes(long usage) |
void |
cylinder(float width,
float height,
float depth,
int divisions)
Deprecated.
|
void |
cylinder(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo)
Deprecated.
|
void |
cylinder(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo,
boolean close)
Deprecated.
|
void |
ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
Deprecated.
|
void |
ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
Vector3 center,
Vector3 normal)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
float angleFrom,
float angleTo)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal)
Deprecated.
|
void |
ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal,
float angleFrom,
float angleTo)
Deprecated.
|
Mesh |
end()
End building the mesh and returns the mesh
|
Mesh |
end(Mesh mesh)
End building the mesh and returns the mesh
|
void |
ensureCapacity(int numVertices,
int numIndices)
Increases the size of the backing vertices and indices arrays to accommodate the specified number of additional vertices and
indices.
|
void |
ensureIndices(int numIndices)
Increases the size of the backing indices array to accommodate the specified number of additional indices.
|
void |
ensureRectangleIndices(int numRectangles)
Increases the size of the backing indices array to accommodate the specified number of additional rectangles.
|
void |
ensureRectangles(int numRectangles)
Deprecated.
use
ensureVertices(int) followed by ensureRectangleIndices(int) instead. |
void |
ensureRectangles(int numVertices,
int numRectangles)
Deprecated.
use
ensureVertices(int) followed by ensureRectangleIndices(int) instead. |
void |
ensureTriangleIndices(int numTriangles)
Increases the size of the backing indices array to accommodate the specified number of additional triangles.
|
void |
ensureTriangles(int numTriangles)
Deprecated.
use
ensureVertices(int) followed by ensureTriangleIndices(int) instead. |
void |
ensureTriangles(int numVertices,
int numTriangles)
Deprecated.
use
ensureVertices(int) followed by ensureTriangleIndices(int) instead. |
void |
ensureVertices(int numVertices)
Increases the size of the backing vertices array to accommodate the specified number of additional vertices.
|
VertexAttributes |
getAttributes() |
int |
getFloatsPerVertex() |
protected short[] |
getIndices()
Provides direct access to the indices array being built, use with care.
|
void |
getIndices(short[] out,
int destOffset)
Get a copy of the indices built so far.
|
MeshPart |
getMeshPart() |
int |
getNumIndices() |
int |
getNumVertices() |
int |
getPrimitiveType() |
Matrix4 |
getVertexTransform(Matrix4 out)
Get the current vertex transformation matrix.
|
protected float[] |
getVertices()
Provides direct access to the vertices array being built, use with care.
|
void |
getVertices(float[] out,
int destOffset)
Get a copy of the vertices built so far.
|
void |
index(short value)
Add an index, MeshPartBuilder expects all meshes to be indexed.
|
void |
index(short value1,
short value2)
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.
|
void |
index(short value1,
short value2,
short value3)
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.
|
void |
index(short value1,
short value2,
short value3,
short value4)
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.
|
void |
index(short value1,
short value2,
short value3,
short value4,
short value5,
short value6)
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.
|
void |
index(short value1,
short value2,
short value3,
short value4,
short value5,
short value6,
short value7,
short value8)
Add multiple indices, MeshPartBuilder expects all meshes to be indexed.
|
boolean |
isVertexTransformationEnabled()
Indicates whether vertex transformation is enabled.
|
short |
lastIndex() |
void |
line(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
Add a line.
|
void |
line(MeshPartBuilder.VertexInfo p1,
MeshPartBuilder.VertexInfo p2)
Add a line.
|
void |
line(short index1,
short index2)
Add a line by indices.
|
void |
line(Vector3 p1,
Color c1,
Vector3 p2,
Color c2)
Add a line.
|
void |
line(Vector3 p1,
Vector3 p2)
Add a line.
|
MeshPart |
part(java.lang.String id,
int primitiveType)
Starts a new MeshPart.
|
MeshPart |
part(java.lang.String id,
int primitiveType,
MeshPart meshPart)
Starts a new MeshPart.
|
void |
patch(float x00,
float y00,
float z00,
float x10,
float y10,
float z10,
float x11,
float y11,
float z11,
float x01,
float y01,
float z01,
float normalX,
float normalY,
float normalZ,
int divisionsU,
int divisionsV)
Deprecated.
|
void |
patch(MeshPartBuilder.VertexInfo corner00,
MeshPartBuilder.VertexInfo corner10,
MeshPartBuilder.VertexInfo corner11,
MeshPartBuilder.VertexInfo corner01,
int divisionsU,
int divisionsV)
Deprecated.
|
void |
patch(Vector3 corner00,
Vector3 corner10,
Vector3 corner11,
Vector3 corner01,
Vector3 normal,
int divisionsU,
int divisionsV)
Deprecated.
|
void |
rect(float x00,
float y00,
float z00,
float x10,
float y10,
float z10,
float x11,
float y11,
float z11,
float x01,
float y01,
float z01,
float normalX,
float normalY,
float normalZ)
Add a rectangle Requires GL_POINTS, GL_LINES or GL_TRIANGLES primitive type.
|
void |
rect(MeshPartBuilder.VertexInfo corner00,
MeshPartBuilder.VertexInfo corner10,
MeshPartBuilder.VertexInfo corner11,
MeshPartBuilder.VertexInfo corner01)
Add a rectangle.
|
void |
rect(short corner00,
short corner10,
short corner11,
short corner01)
Add a rectangle by indices.
|
void |
rect(Vector3 corner00,
Vector3 corner10,
Vector3 corner11,
Vector3 corner01,
Vector3 normal)
Add a rectangle.
|
void |
setColor(Color color)
Set the color used to tint the vertex color, defaults to white.
|
void |
setColor(float r,
float g,
float b,
float a)
Set the color used to tint the vertex color, defaults to white.
|
void |
setUVRange(float u1,
float v1,
float u2,
float v2)
Set range of texture coordinates used (default is 0,0,1,1).
|
void |
setUVRange(TextureRegion region)
Set range of texture coordinates from the specified TextureRegion.
|
void |
setVertexTransform(Matrix4 transform)
Set the current vertex transformation matrix and enables vertex transformation.
|
void |
setVertexTransformationEnabled(boolean enabled)
Sets whether vertex transformation is enabled.
|
void |
sphere(float width,
float height,
float depth,
int divisionsU,
int divisionsV)
Deprecated.
|
void |
sphere(float width,
float height,
float depth,
int divisionsU,
int divisionsV,
float angleUFrom,
float angleUTo,
float angleVFrom,
float angleVTo)
Deprecated.
|
void |
sphere(Matrix4 transform,
float width,
float height,
float depth,
int divisionsU,
int divisionsV)
Deprecated.
|
void |
sphere(Matrix4 transform,
float width,
float height,
float depth,
int divisionsU,
int divisionsV,
float angleUFrom,
float angleUTo,
float angleVFrom,
float angleVTo)
Deprecated.
|
void |
triangle(MeshPartBuilder.VertexInfo p1,
MeshPartBuilder.VertexInfo p2,
MeshPartBuilder.VertexInfo p3)
Add a triangle.
|
void |
triangle(short index1,
short index2,
short index3)
Add a triangle by indices.
|
void |
triangle(Vector3 p1,
Color c1,
Vector3 p2,
Color c2,
Vector3 p3,
Color c3)
Add a triangle.
|
void |
triangle(Vector3 p1,
Vector3 p2,
Vector3 p3)
Add a triangle.
|
short |
vertex(float... values)
Add one or more vertices, returns the index of the last vertex added.
|
short |
vertex(MeshPartBuilder.VertexInfo info)
Add a vertex, returns the index.
|
short |
vertex(Vector3 pos,
Vector3 nor,
Color col,
Vector2 uv)
Add a vertex, returns the index.
|
public static VertexAttributes createAttributes(long usage)
usage - bitwise mask of the VertexAttributes.Usage, only Position, Color, Normal and
TextureCoordinates is supported.public void begin(long attributes)
part(String, int) to start a MeshPart.attributes - bitwise mask of the VertexAttributes.Usage, only Position, Color, Normal
and TextureCoordinates is supported.public void begin(VertexAttributes attributes)
part(String, int) to start a MeshPart.public void begin(long attributes,
int primitiveType)
attributes - bitwise mask of the VertexAttributes.Usage, only Position, Color, Normal
and TextureCoordinates is supported.public void begin(VertexAttributes attributes, int primitiveType)
public MeshPart part(java.lang.String id, int primitiveType)
part(String, int, MeshPart)public MeshPart part(java.lang.String id, int primitiveType, MeshPart meshPart)
id - The id (name) of the partprimitiveType - e.g. GL20.GL_TRIANGLES or GL20.GL_LINESmeshPart - The part to receive the resultpublic Mesh end(Mesh mesh)
mesh - The mesh to receive the built vertices and indices, must have the same attributes and must be big enough to hold
the data, any existing data will be overwritten.public Mesh end()
public void clear()
public int getFloatsPerVertex()
public int getNumVertices()
public void getVertices(float[] out,
int destOffset)
out - The float array to receive the copy of the vertices, must be at least `destOffset` + getNumVertices() *
getFloatsPerVertex() in size.destOffset - The offset (number of floats) in the out array where to start copyingprotected float[] getVertices()
getFloatsPerVertex() * getNumVertices() to calculate the usable
size of the array. Must be called in between the call to #begin and #end.public int getNumIndices()
public void getIndices(short[] out,
int destOffset)
out - The short array to receive the copy of the indices, must be at least `destOffset` + getNumIndices() in
size.destOffset - The offset (number of shorts) in the out array where to start copyingprotected short[] getIndices()
getNumIndices() to calculate the usable size of the array. Must be called
in between the call to #begin and #end.public VertexAttributes getAttributes()
getAttributes in interface MeshPartBuilderVertexAttributes available for building.public MeshPart getMeshPart()
getMeshPart in interface MeshPartBuilderMeshPart currently building.public int getPrimitiveType()
getPrimitiveType in interface MeshPartBuilderGL20.GL_TRIANGLES or GL20.GL_LINES.public void setColor(float r,
float g,
float b,
float a)
MeshPartBuilderVertexAttributes.Usage.ColorPacked or
VertexAttributes.Usage.ColorUnpacked.setColor in interface MeshPartBuilderpublic void setColor(Color color)
MeshPartBuilderVertexAttributes.Usage.ColorPacked or
VertexAttributes.Usage.ColorUnpacked.setColor in interface MeshPartBuilderpublic void setUVRange(float u1,
float v1,
float u2,
float v2)
MeshPartBuildersetUVRange in interface MeshPartBuilderpublic void setUVRange(TextureRegion region)
MeshPartBuildersetUVRange in interface MeshPartBuilderpublic Matrix4 getVertexTransform(Matrix4 out)
MeshPartBuildergetVertexTransform in interface MeshPartBuilderpublic void setVertexTransform(Matrix4 transform)
MeshPartBuildersetVertexTransform in interface MeshPartBuilderpublic boolean isVertexTransformationEnabled()
MeshPartBuilderisVertexTransformationEnabled in interface MeshPartBuilderpublic void setVertexTransformationEnabled(boolean enabled)
MeshPartBuildersetVertexTransformationEnabled in interface MeshPartBuilderpublic void ensureVertices(int numVertices)
MeshPartBuilderensureVertices in interface MeshPartBuildernumVertices - The number of vertices you are about to addpublic void ensureIndices(int numIndices)
MeshPartBuilderensureIndices in interface MeshPartBuildernumIndices - The number of indices you are about to addpublic void ensureCapacity(int numVertices,
int numIndices)
MeshPartBuilderensureCapacity in interface MeshPartBuildernumVertices - The number of vertices you are about to addnumIndices - The number of indices you are about to addpublic void ensureTriangleIndices(int numTriangles)
MeshPartBuilderMeshPartBuilder.triangle(short, short, short) to avoid multiple backing array resizes. The actual
number of indices accounted for depends on the primitive type (see MeshPartBuilder.getPrimitiveType()).ensureTriangleIndices in interface MeshPartBuildernumTriangles - The number of triangles you are about to add@Deprecated
public void ensureTriangles(int numVertices,
int numTriangles)
ensureVertices(int) followed by ensureTriangleIndices(int) instead.@Deprecated public void ensureTriangles(int numTriangles)
ensureVertices(int) followed by ensureTriangleIndices(int) instead.public void ensureRectangleIndices(int numRectangles)
MeshPartBuilderMeshPartBuilder.rect(short, short, short, short) to avoid multiple backing array resizes.ensureRectangleIndices in interface MeshPartBuildernumRectangles - The number of rectangles you are about to add@Deprecated
public void ensureRectangles(int numVertices,
int numRectangles)
ensureVertices(int) followed by ensureRectangleIndices(int) instead.public void ensureRectangles(int numRectangles)
ensureVertices(int) followed by ensureRectangleIndices(int) instead.public short lastIndex()
lastIndex in interface MeshPartBuilderpublic short vertex(Vector3 pos, Vector3 nor, Color col, Vector2 uv)
MeshPartBuilderMeshPartBuilder.getAttributes() to check which values are available.vertex in interface MeshPartBuilderpublic short vertex(float... values)
MeshPartBuildervertex in interface MeshPartBuilderpublic short vertex(MeshPartBuilder.VertexInfo info)
MeshPartBuilderMeshPartBuilder.getAttributes() to check which values are available.vertex in interface MeshPartBuilderpublic void index(short value)
MeshPartBuilderindex in interface MeshPartBuilderpublic void index(short value1,
short value2)
MeshPartBuilderindex in interface MeshPartBuilderpublic void index(short value1,
short value2,
short value3)
MeshPartBuilderindex in interface MeshPartBuilderpublic void index(short value1,
short value2,
short value3,
short value4)
MeshPartBuilderindex in interface MeshPartBuilderpublic void index(short value1,
short value2,
short value3,
short value4,
short value5,
short value6)
MeshPartBuilderindex in interface MeshPartBuilderpublic void index(short value1,
short value2,
short value3,
short value4,
short value5,
short value6,
short value7,
short value8)
MeshPartBuilderindex in interface MeshPartBuilderpublic void line(short index1,
short index2)
MeshPartBuilderline in interface MeshPartBuilderpublic void line(MeshPartBuilder.VertexInfo p1, MeshPartBuilder.VertexInfo p2)
MeshPartBuilderline in interface MeshPartBuilderpublic void line(Vector3 p1, Vector3 p2)
MeshPartBuilderline in interface MeshPartBuilderpublic void line(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
MeshPartBuilderline in interface MeshPartBuilderpublic void line(Vector3 p1, Color c1, Vector3 p2, Color c2)
MeshPartBuilderline in interface MeshPartBuilderpublic void triangle(short index1,
short index2,
short index3)
MeshPartBuildertriangle in interface MeshPartBuilderpublic void triangle(MeshPartBuilder.VertexInfo p1, MeshPartBuilder.VertexInfo p2, MeshPartBuilder.VertexInfo p3)
MeshPartBuildertriangle in interface MeshPartBuilderpublic void triangle(Vector3 p1, Vector3 p2, Vector3 p3)
MeshPartBuildertriangle in interface MeshPartBuilderpublic void triangle(Vector3 p1, Color c1, Vector3 p2, Color c2, Vector3 p3, Color c3)
MeshPartBuildertriangle in interface MeshPartBuilderpublic void rect(short corner00,
short corner10,
short corner11,
short corner01)
MeshPartBuilderrect in interface MeshPartBuilderpublic void rect(MeshPartBuilder.VertexInfo corner00, MeshPartBuilder.VertexInfo corner10, MeshPartBuilder.VertexInfo corner11, MeshPartBuilder.VertexInfo corner01)
MeshPartBuilderrect in interface MeshPartBuilderpublic void rect(Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal)
MeshPartBuilderrect in interface MeshPartBuilderpublic void rect(float x00,
float y00,
float z00,
float x10,
float y10,
float z10,
float x11,
float y11,
float z11,
float x01,
float y01,
float z01,
float normalX,
float normalY,
float normalZ)
MeshPartBuilderrect in interface MeshPartBuilderpublic void addMesh(Mesh mesh)
MeshPartBuilderaddMesh in interface MeshPartBuildermesh - The mesh to copy, must have the same vertex attributes and must be indexed.public void addMesh(MeshPart meshpart)
MeshPartBuilderaddMesh in interface MeshPartBuildermeshpart - The MeshPart to copy, must have the same vertex attributes, primitive type and must be indexed.public void addMesh(Mesh mesh, int indexOffset, int numIndices)
MeshPartBuilderaddMesh in interface MeshPartBuildermesh - The mesh to (partly) copy, must have the same vertex attributes and must be indexed.indexOffset - The zero-based offset of the first index of the part of the mesh to copy.numIndices - The number of indices of the part of the mesh to copy.public void addMesh(float[] vertices,
short[] indices,
int indexOffset,
int numIndices)
MeshPartBuilderaddMesh in interface MeshPartBuildervertices - The vertices to (partly) copy, must be in the same vertex layout as the mesh being build.indices - Array containing the indices to (partly) copy, each index should be valid in the vertices array.indexOffset - The zero-based offset of the first index of the part of indices array to copy.numIndices - The number of indices of the part of the indices array to copy.public void addMesh(float[] vertices,
short[] indices)
MeshPartBuilderMeshPartBuilder.addMesh(float[], short[], int, int) method instead.addMesh in interface MeshPartBuildervertices - The vertices to copy, must be in the same vertex layout as the mesh being build.indices - Array containing the indices to copy, each index should be valid in the vertices array.@Deprecated public void patch(MeshPartBuilder.VertexInfo corner00, MeshPartBuilder.VertexInfo corner10, MeshPartBuilder.VertexInfo corner11, MeshPartBuilder.VertexInfo corner01, int divisionsU, int divisionsV)
patch in interface MeshPartBuilder@Deprecated public void patch(Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal, int divisionsU, int divisionsV)
patch in interface MeshPartBuilder@Deprecated
public void patch(float x00,
float y00,
float z00,
float x10,
float y10,
float z10,
float x11,
float y11,
float z11,
float x01,
float y01,
float z01,
float normalX,
float normalY,
float normalZ,
int divisionsU,
int divisionsV)
patch in interface MeshPartBuilder@Deprecated public void box(MeshPartBuilder.VertexInfo corner000, MeshPartBuilder.VertexInfo corner010, MeshPartBuilder.VertexInfo corner100, MeshPartBuilder.VertexInfo corner110, MeshPartBuilder.VertexInfo corner001, MeshPartBuilder.VertexInfo corner011, MeshPartBuilder.VertexInfo corner101, MeshPartBuilder.VertexInfo corner111)
box in interface MeshPartBuilder@Deprecated public void box(Vector3 corner000, Vector3 corner010, Vector3 corner100, Vector3 corner110, Vector3 corner001, Vector3 corner011, Vector3 corner101, Vector3 corner111)
box in interface MeshPartBuilder@Deprecated public void box(Matrix4 transform)
box in interface MeshPartBuilder@Deprecated
public void box(float width,
float height,
float depth)
box in interface MeshPartBuilder@Deprecated
public void box(float x,
float y,
float z,
float width,
float height,
float depth)
box in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
Vector3 center,
Vector3 normal)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
float angleFrom,
float angleTo)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal,
float angleFrom,
float angleTo)
circle in interface MeshPartBuilder@Deprecated
public void circle(float radius,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
circle in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
Vector3 center,
Vector3 normal,
Vector3 tangent,
Vector3 binormal,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
Vector3 center,
Vector3 normal)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void ellipse(float width,
float height,
float innerWidth,
float innerHeight,
int divisions,
float centerX,
float centerY,
float centerZ,
float normalX,
float normalY,
float normalZ,
float tangentX,
float tangentY,
float tangentZ,
float binormalX,
float binormalY,
float binormalZ,
float angleFrom,
float angleTo)
ellipse in interface MeshPartBuilder@Deprecated
public void cylinder(float width,
float height,
float depth,
int divisions)
cylinder in interface MeshPartBuilder@Deprecated
public void cylinder(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo)
cylinder in interface MeshPartBuilder@Deprecated
public void cylinder(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo,
boolean close)
cylinder in interface MeshPartBuilder@Deprecated
public void cone(float width,
float height,
float depth,
int divisions)
cone in interface MeshPartBuilder@Deprecated
public void cone(float width,
float height,
float depth,
int divisions,
float angleFrom,
float angleTo)
cone in interface MeshPartBuilder@Deprecated
public void sphere(float width,
float height,
float depth,
int divisionsU,
int divisionsV)
sphere in interface MeshPartBuilder@Deprecated public void sphere(Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV)
sphere in interface MeshPartBuilder@Deprecated
public void sphere(float width,
float height,
float depth,
int divisionsU,
int divisionsV,
float angleUFrom,
float angleUTo,
float angleVFrom,
float angleVTo)
sphere in interface MeshPartBuilder@Deprecated public void sphere(Matrix4 transform, float width, float height, float depth, int divisionsU, int divisionsV, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo)
sphere in interface MeshPartBuilder@Deprecated
public void capsule(float radius,
float height,
int divisions)
capsule in interface MeshPartBuilder@Deprecated
public void arrow(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float capLength,
float stemThickness,
int divisions)
arrow in interface MeshPartBuilder