Uses of Class
com.badlogic.gdx.graphics.g3d.Material

Packages that use Material
  • Uses of Material in com.badlogic.gdx.graphics.g3d

    Modifier and Type
    Field
    Description
    Renderable.material
    The Material 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 Material
    Modifier and Type
    Field
    Description
    Model.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 nodes
    ModelInstance.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 nodes
    Modifier and Type
    Method
    Description
    protected Material
    Model.convertMaterial(ModelMaterial mtl, TextureProvider textureProvider)
     
    Material.copy()
    Create a copy of this material
    Model.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
    Modifier
    Constructor
    Description
     
    Material(Material copyFrom)
    Create a material which is an exact copy of the specified material
     
    Material(String id, Material copyFrom)
    Create a material which is an exact copy of the specified material
  • Uses of Material in com.badlogic.gdx.graphics.g3d.model

    Modifier and Type
    Field
    Description
    NodePart.material
    The Material used to render the NodePart.meshPart.
    Constructors in com.badlogic.gdx.graphics.g3d.model with parameters of type Material
    Modifier
    Constructor
    Description
     
    NodePart(MeshPart meshPart, Material material)
    Construct a new NodePart referencing the provided MeshPart and Material.
  • Uses of Material in com.badlogic.gdx.graphics.g3d.utils

    Modifier and Type
    Method
    Description
    ShapeCache.getMaterial()
    Allows to customize the material.
    Methods in com.badlogic.gdx.graphics.g3d.utils with parameters of type Material
    Modifier and Type
    Method
    Description
    ModelBuilder.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.
    ModelBuilder.createBox(float width, float height, float depth, Material material, long attributes)
    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
    ModelBuilder.part(MeshPart meshpart, Material material)
    Adds the specified MeshPart to the current Node.
    ModelBuilder.part(String id, int primitiveType, long attributes, Material material)
    Creates a new MeshPart within the current Node and returns a MeshPartBuilder 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 a MeshPartBuilder which can be used to build the shape of the part.
    ModelBuilder.part(String id, Mesh mesh, int primitiveType, int offset, int size, Material material)
    Adds the specified mesh part to the current node.
    ModelBuilder.part(String id, Mesh mesh, int primitiveType, Material material)
    Adds the specified mesh part to the current node.