Java com.badlogic.gdx.graphics.g3d.utils ModelBuilder fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.graphics.g3d.utils ModelBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.graphics.g3d.utils ModelBuilder.

The text is from its open source code.

Field

Nodenode
The node currently being build

Constructor

Method

voidbegin()
Begin building a new model
ModelcreateArrow(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.
ModelcreateArrow(Vector3 from, Vector3 to, Material material, long attributes)
Convenience method to create a model with an arrow.
ModelcreateBox(float width, float height, float depth, final Material material, final long attributes)
Convenience method to create a model with a single node containing a box shape.
ModelcreateRect(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, final Material material, final long attributes)
Convenience method to create a model with a single node containing a rectangle shape.
ModelcreateRect(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, final Material material, final long attributes)
Convenience method to create a model with a single node containing a rectangle shape.
ModelcreateSphere(float width, float height, float depth, int divisionsU, int divisionsV, final Material material, final long attributes)
Convenience method to create a model with a single node containing a sphere shape.
ModelcreateXYZCoordinates(float axisLength, Material material, long attributes)
Modelend()
End building the model.
MeshPartpart(final String id, final Mesh mesh, int primitiveType, final Material material)
Adds the specified mesh part to the current node.
MeshPartBuilderpart(final String id, int primitiveType, final VertexAttributes attributes, final 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.
MeshPartBuilderpart(final String id, int primitiveType, final long attributes, final 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.
voidpart(final MeshPart meshpart, final Material material)
Adds the specified MeshPart to the current Node.