Uses of Class
com.badlogic.gdx.graphics.Mesh
-
-
Uses of Mesh in com.badlogic.gdx.graphics
Methods in com.badlogic.gdx.graphics that return Mesh Modifier and Type Method Description MeshMesh. copy(boolean isStatic)Copies this mesh.MeshMesh. copy(boolean isStatic, boolean removeDuplicates, int[] usage)Copies this mesh optionally removing duplicate vertices and/or reducing the amount of attributes.MeshMesh. disableInstancedRendering()MeshMesh. enableInstancedRendering(boolean isStatic, int maxInstances, VertexAttribute... attributes)MeshMesh. setIndices(short[] indices)Sets the indices of this MeshMeshMesh. setIndices(short[] indices, int offset, int count)Sets the indices of this Mesh.MeshMesh. setInstanceData(float[] instanceData)Sets the instance data of this Mesh.MeshMesh. setInstanceData(float[] instanceData, int offset, int count)Sets the instance data of this Mesh.MeshMesh. setInstanceData(java.nio.FloatBuffer instanceData)Sets the instance data of this Mesh.MeshMesh. setInstanceData(java.nio.FloatBuffer instanceData, int count)Sets the instance data of this Mesh.MeshMesh. setVertices(float[] vertices)Sets the vertices of this Mesh.MeshMesh. setVertices(float[] vertices, int offset, int count)Sets the vertices of this Mesh.MeshMesh. updateInstanceData(int targetOffset, float[] source)Update (a portion of) the instance data.MeshMesh. updateInstanceData(int targetOffset, float[] source, int sourceOffset, int count)Update (a portion of) the instance data.MeshMesh. updateInstanceData(int targetOffset, java.nio.FloatBuffer source)Update (a portion of) the instance data.MeshMesh. updateInstanceData(int targetOffset, java.nio.FloatBuffer source, int sourceOffset, int count)Update (a portion of) the instance data.MeshMesh. updateVertices(int targetOffset, float[] source)Update (a portion of) the vertices.MeshMesh. updateVertices(int targetOffset, float[] source, int sourceOffset, int count)Update (a portion of) the vertices. -
Uses of Mesh in com.badlogic.gdx.graphics.g3d
Fields in com.badlogic.gdx.graphics.g3d with type parameters of type Mesh Modifier and Type Field Description Array<Mesh>Model. meshesthe meshes of the modelMethods in com.badlogic.gdx.graphics.g3d that return Mesh Modifier and Type Method Description MeshModelCache.MeshPool. obtain(VertexAttributes vertexAttributes, int vertexCount, int indexCount)Will try to reuse or, when not possible to reuse, optionally create aMeshthat meets the specified criteria.MeshModelCache.SimpleMeshPool. obtain(VertexAttributes vertexAttributes, int vertexCount, int indexCount)MeshModelCache.TightMeshPool. obtain(VertexAttributes vertexAttributes, int vertexCount, int indexCount) -
Uses of Mesh in com.badlogic.gdx.graphics.g3d.model
Fields in com.badlogic.gdx.graphics.g3d.model declared as Mesh Modifier and Type Field Description MeshMeshPart. meshThe Mesh the part references, also stored inModelMethods in com.badlogic.gdx.graphics.g3d.model with parameters of type Mesh Modifier and Type Method Description MeshPartMeshPart. set(java.lang.String id, Mesh mesh, int offset, int size, int type)Set this MeshPart to given values, does notMeshPart.update()the bounding box values.Constructors in com.badlogic.gdx.graphics.g3d.model with parameters of type Mesh Constructor Description MeshPart(java.lang.String id, Mesh mesh, int offset, int size, int type)Construct a new MeshPart and set all its values. -
Uses of Mesh in com.badlogic.gdx.graphics.g3d.particles.values
Fields in com.badlogic.gdx.graphics.g3d.particles.values declared as Mesh Modifier and Type Field Description protected MeshMeshSpawnShapeValue. meshMethods in com.badlogic.gdx.graphics.g3d.particles.values with parameters of type Mesh Modifier and Type Method Description voidMeshSpawnShapeValue. setMesh(Mesh mesh)voidMeshSpawnShapeValue. setMesh(Mesh mesh, Model model)voidUnweightedMeshSpawnShapeValue. setMesh(Mesh mesh, Model model) -
Uses of Mesh in com.badlogic.gdx.graphics.g3d.utils
Methods in com.badlogic.gdx.graphics.g3d.utils that return Mesh Modifier and Type Method Description MeshMeshBuilder. end()End building the mesh and returns the meshMeshMeshBuilder. end(Mesh mesh)End building the mesh and returns the meshMethods in com.badlogic.gdx.graphics.g3d.utils with parameters of type Mesh Modifier and Type Method Description voidMeshBuilder. addMesh(Mesh mesh)voidMeshBuilder. addMesh(Mesh mesh, int indexOffset, int numIndices)voidMeshPartBuilder. addMesh(Mesh mesh)Copies a mesh to the mesh (part) currently being build.voidMeshPartBuilder. addMesh(Mesh mesh, int indexOffset, int numIndices)Copies a (part of a) mesh to the mesh (part) currently being build.MeshMeshBuilder. end(Mesh mesh)End building the mesh and returns the meshMeshPartModelBuilder. part(java.lang.String id, Mesh mesh, int primitiveType, int offset, int size, Material material)Adds the specified mesh part to the current node.MeshPartModelBuilder. part(java.lang.String id, Mesh mesh, int primitiveType, Material material)Adds the specified mesh part to the current node.
-