APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.graphics.g3d.utils.shapebuilders

public Class CylinderShapeBuilder

extends BaseShapeBuilder
Class Inheritance
Imports
com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder, .MeshPartBuilder.VertexInfo, com.badlogic.gdx.math.MathUtils

Helper class with static methods to build cylinders shapes using MeshPartBuilder.
Author
xoppa

Field Summary

Inherited from com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder:
matTmp1tmpColor0tmpColor1tmpColor2tmpColor3tmpColor4tmpV0tmpV1tmpV2tmpV3tmpV4tmpV5tmpV6tmpV7vertTmp0vertTmp1vertTmp2vertTmp3vertTmp4vertTmp5vertTmp6vertTmp7vertTmp8

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
build(MeshPartBuilder builder, float width, float height, float depth, int divisions)

Build a cylinder

public static void
build(MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo)

Build a cylinder

public static void
build(MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo, boolean close)

Build a cylinder

Inherited from com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder:
freeAllobtainM4obtainV3

Constructor Detail

CylinderShapeBuilderback to summary
public CylinderShapeBuilder()

Method Detail

buildback to summary
public static void build(MeshPartBuilder builder, float width, float height, float depth, int divisions)

Build a cylinder

buildback to summary
public static void build(MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo)

Build a cylinder

buildback to summary
public static void build(MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo, boolean close)

Build a cylinder