new Geometry() → {Geometry}
Provides an object which stores geometry and provides method which controls its animations.
This is created when a valid json file containging geometry is read into a Zinc.Scene
object.
- Source:
Returns:
- Type
- Geometry
Methods
calculateUVs()
Calculate the UV for texture rendering.
- Source:
checkTransparentMesh()
Handle transparent mesh, create a clone for backside rendering if it is
transparent.
- Source:
createMesh(geometryIn, materialIn, options)
Create the mesh for rendering
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
geometryIn |
THREE.Geomtry | Geometry to be rendered. | |||||||||||||||
materialIn |
THREE.Material | Material to be set for the geometry. | |||||||||||||||
options |
Object | Provide various options
Properties
|
- Source:
editVertices()
Edit Vertice in index.
- Source:
setWireframe(wireframe)
Set wireframe display for this geometry.
Parameters:
Name | Type | Description |
---|---|---|
wireframe |
Boolean | Flag to turn on/off wireframe display. |
- Source: