Uses of Class
com.badlogic.gdx.graphics.g3d.Material
Packages that use Material
Package
Description
-
Uses of Material in com.badlogic.gdx.graphics.g3d
Fields in com.badlogic.gdx.graphics.g3d declared as MaterialModifier and TypeFieldDescriptionRenderable.material
TheMaterial
to be applied to the shape (part of the mesh), must not be null.Fields in com.badlogic.gdx.graphics.g3d with type parameters of type MaterialModifier and TypeFieldDescriptionModel.materials
the materials of the model, used by nodes that have a graphical representation FIXME not sure if superfluous, allows modification of materials without having to traverse the nodesModelInstance.materials
the materials of the model, used by nodes that have a graphical representation FIXME not sure if superfluous, allows modification of materials without having to traverse the nodesMethods in com.badlogic.gdx.graphics.g3d that return MaterialModifier and TypeMethodDescriptionprotected Material
Model.convertMaterial
(ModelMaterial mtl, TextureProvider textureProvider) Material.copy()
Create a copy of this materialModel.getMaterial
(String id) Model.getMaterial
(String id, boolean ignoreCase) ModelInstance.getMaterial
(String id) ModelInstance.getMaterial
(String id, boolean ignoreCase) Constructors in com.badlogic.gdx.graphics.g3d with parameters of type Material -
Uses of Material in com.badlogic.gdx.graphics.g3d.model
Fields in com.badlogic.gdx.graphics.g3d.model declared as MaterialModifier and TypeFieldDescriptionNodePart.material
The Material used to render theNodePart.meshPart
.Constructors in com.badlogic.gdx.graphics.g3d.model with parameters of type Material -
Uses of Material in com.badlogic.gdx.graphics.g3d.utils
Methods in com.badlogic.gdx.graphics.g3d.utils that return MaterialMethods in com.badlogic.gdx.graphics.g3d.utils with parameters of type MaterialModifier and TypeMethodDescriptionModelBuilder.createArrow
(float x1, float y1, float z1, float x2, float y2, float z2, float capLength, float stemThickness, int divisions, int primitiveType, Material material, long attributes) Convenience method to create a model with an arrow.ModelBuilder.createArrow
(Vector3 from, Vector3 to, Material material, long attributes) Convenience method to create a model with an arrow.ModelBuilder.createBox
(float width, float height, float depth, int primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a box shape.Convenience method to create a model with a single node containing a box shape.ModelBuilder.createCapsule
(float radius, float height, int divisions, int primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a capsule shape.ModelBuilder.createCapsule
(float radius, float height, int divisions, Material material, long attributes) Convenience method to create a model with a single node containing a capsule shape.ModelBuilder.createCone
(float width, float height, float depth, int divisions, int primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a cone shape.ModelBuilder.createCone
(float width, float height, float depth, int divisions, int primitiveType, Material material, long attributes, float angleFrom, float angleTo) Convenience method to create a model with a single node containing a cone shape.ModelBuilder.createCone
(float width, float height, float depth, int divisions, Material material, long attributes) Convenience method to create a model with a single node containing a cone shape.ModelBuilder.createCone
(float width, float height, float depth, int divisions, Material material, long attributes, float angleFrom, float angleTo) Convenience method to create a model with a single node containing a cone shape.ModelBuilder.createCylinder
(float width, float height, float depth, int divisions, int primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a cylinder shape.ModelBuilder.createCylinder
(float width, float height, float depth, int divisions, int primitiveType, Material material, long attributes, float angleFrom, float angleTo) Convenience method to create a model with a single node containing a cylinder shape.ModelBuilder.createCylinder
(float width, float height, float depth, int divisions, Material material, long attributes) Convenience method to create a model with a single node containing a cylinder shape.ModelBuilder.createCylinder
(float width, float height, float depth, int divisions, Material material, long attributes, float angleFrom, float angleTo) Convenience method to create a model with a single node containing a cylinder shape.ModelBuilder.createLineGrid
(int xDivisions, int zDivisions, float xSize, float zSize, Material material, long attributes) Convenience method to create a model which represents a grid of lines on the XZ plane.ModelBuilder.createRect
(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 primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a rectangle shape.ModelBuilder.createRect
(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, Material material, long attributes) Convenience method to create a model with a single node containing a rectangle shape.ModelBuilder.createSphere
(float width, float height, float depth, int divisionsU, int divisionsV, int primitiveType, Material material, long attributes) Convenience method to create a model with a single node containing a sphere shape.ModelBuilder.createSphere
(float width, float height, float depth, int divisionsU, int divisionsV, int primitiveType, Material material, long attributes, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo) Convenience method to create a model with a single node containing a sphere shape.ModelBuilder.createSphere
(float width, float height, float depth, int divisionsU, int divisionsV, Material material, long attributes) Convenience method to create a model with a single node containing a sphere shape.ModelBuilder.createSphere
(float width, float height, float depth, int divisionsU, int divisionsV, Material material, long attributes, float angleUFrom, float angleUTo, float angleVFrom, float angleVTo) Convenience method to create a model with a single node containing a sphere shape.ModelBuilder.createXYZCoordinates
(float axisLength, float capLength, float stemThickness, int divisions, int primitiveType, Material material, long attributes) Convenience method to create a model with three orthonormal vectors shapes.ModelBuilder.createXYZCoordinates
(float axisLength, Material material, long attributes) void
Adds the specified MeshPart to the current Node.Creates a new MeshPart within the current Node and returns aMeshPartBuilder
which can be used to build the shape of the part.ModelBuilder.part
(String id, int primitiveType, VertexAttributes attributes, Material material) Creates a new MeshPart within the current Node and returns aMeshPartBuilder
which can be used to build the shape of the part.Adds the specified mesh part to the current node.Adds the specified mesh part to the current node.