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 TypeMethodDescriptionvoidProcedurally generate a list of triangles and update the bounding box.Methods inherited from class com.marginallyclever.ro3.mesh.proceduralmesh.ProceduralMesh
fromJSON, toJSONMethods inherited from class com.marginallyclever.ro3.mesh.Mesh
addColor, addIndex, addNormal, addNormal, addPropertyChangeListener, addTexCoord, addVertex, addVertex, clear, 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:ProceduralMeshProcedurally generate a list of triangles and update the bounding box.- Specified by:
updateModelin classProceduralMesh
-
getEnglishName
- Specified by:
getEnglishNamein classProceduralMesh
-