Package | Description |
---|---|
com.badlogic.gdx.graphics | |
com.badlogic.gdx.graphics.g3d | |
com.badlogic.gdx.graphics.g3d.model | |
com.badlogic.gdx.graphics.g3d.utils |
Modifier and Type | Method and Description |
---|---|
Mesh |
Mesh.copy(boolean isStatic)
Copies this mesh.
|
Mesh |
Mesh.copy(boolean isStatic,
boolean removeDuplicates,
int[] usage)
Copies this mesh optionally removing duplicate vertices and/or reducing the amount of attributes.
|
static Mesh |
Mesh.create(boolean isStatic,
Mesh[] meshes)
Create a new Mesh that is a combination of the supplied meshes.
|
static Mesh |
Mesh.create(boolean isStatic,
Mesh[] meshes,
Matrix4[] transformations)
Create a new Mesh that is a combination of the supplied meshes.
|
static Mesh |
Mesh.create(boolean isStatic,
Mesh base,
Matrix4[] transformations)
Create a new Mesh that is a combination of transformations of the supplied base mesh.
|
Mesh |
Mesh.setIndices(short[] indices)
Sets the indices of this Mesh
|
Mesh |
Mesh.setIndices(short[] indices,
int offset,
int count)
Sets the indices of this Mesh.
|
Mesh |
Mesh.setVertices(float[] vertices)
Sets the vertices of this Mesh.
|
Mesh |
Mesh.setVertices(float[] vertices,
int offset,
int count)
Sets the vertices of this Mesh.
|
Modifier and Type | Method and Description |
---|---|
static Mesh |
Mesh.create(boolean isStatic,
Mesh[] meshes)
Create a new Mesh that is a combination of the supplied meshes.
|
static Mesh |
Mesh.create(boolean isStatic,
Mesh[] meshes,
Matrix4[] transformations)
Create a new Mesh that is a combination of the supplied meshes.
|
static Mesh |
Mesh.create(boolean isStatic,
Mesh base,
Matrix4[] transformations)
Create a new Mesh that is a combination of transformations of the supplied base mesh.
|
Modifier and Type | Field and Description |
---|---|
Mesh |
Renderable.mesh
the
Mesh to render |
Modifier and Type | Field and Description |
---|---|
Array<Mesh> |
Model.meshes
the meshes of the model
|
Modifier and Type | Field and Description |
---|---|
Mesh |
MeshPart.mesh
the Mesh the part references, also stored in
Model |
Modifier and Type | Method and Description |
---|---|
Mesh |
MeshBuilder.end()
End building the mesh and returns the mesh
|
Modifier and Type | Method and Description |
---|---|
static Model |
ModelBuilder.createFromMesh(Mesh mesh,
int indexOffset,
int vertexCount,
int primitiveType,
Material material)
Deprecated.
|
static Model |
ModelBuilder.createFromMesh(Mesh mesh,
int primitiveType,
Material material)
Deprecated.
|
MeshPart |
ModelBuilder.part(java.lang.String id,
Mesh mesh,
int primitiveType,
int offset,
int size,
Material material)
Adds the specified mesh part to the current node.
|
MeshPart |
ModelBuilder.part(java.lang.String id,
Mesh mesh,
int primitiveType,
Material material)
Adds the specified mesh part to the current node.
|