Class GenerativeMesh
java.lang.Object
com.marginallyclever.ro3.mesh.Mesh
com.marginallyclever.ro3.mesh.proceduralmesh.ProceduralMesh
com.marginallyclever.ro3.mesh.proceduralmesh.GenerativeMesh
GenerativeMesh
is a Mesh
that is generated procedurally by some other part of the system.-
Field Summary
Fields inherited from class com.marginallyclever.ro3.mesh.Mesh
colorArray, indexArray, normalArray, NUM_BUFFERS, renderStyle, textureArray, vertexArray
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Procedurally generate a list of triangles and update the bounding box.Methods inherited from class com.marginallyclever.ro3.mesh.proceduralmesh.ProceduralMesh
fromJSON, toJSON
Methods inherited from class com.marginallyclever.ro3.mesh.Mesh
addColor, addIndex, addNormal, addNormal, addPropertyChangeListener, addTexCoord, addVertex, addVertex, clear, createPathMesh, fireMeshChanged, getBoundingBox, getHasColors, getHasIndexes, getHasNormals, getHasTextures, getNormal, getNumTriangles, getNumVertices, getRandomPointOnSurface, getRandomPointOnTriangle, getRenderStyle, getSourceName, getTexCoord, getTriangleArea, getVertex, getVertexProvider, intersect, isDirty, isLoaded, isTransparent, removePropertyChangeListener, render, render, setDirty, setLoaded, setRenderStyle, setSourceName, setTexCoord, setVertex, unload, updateCuboid, updateVertexBuffers
-
Constructor Details
-
GenerativeMesh
public GenerativeMesh()
-
-
Method Details
-
updateModel
public void updateModel()Description copied from class:ProceduralMesh
Procedurally generate a list of triangles and update the bounding box.- Specified by:
updateModel
in classProceduralMesh
-
getEnglishName
- Specified by:
getEnglishName
in classProceduralMesh
-