Name | Type | Description |
---|---|---|
options |
MeshGeometryOptions |
The options of the mesh geometry. |
Extends
Members
The indices of the mesh.
The positions of the mesh.
The UVs of the mesh.
Inherited Properties
From class Geometry
A record of the attributes of the geometry.
Returns the bounds of the geometry.
The buffers that the attributes use
The index buffer of the geometry
instanceCount number inherited
the instance count of the geometry to draw
- Default Value:
- 1
The topology of the geometry.
uid number readonly inherited
The unique id of the geometry.
Inherited Methods
From class Geometry
destroys the geometry.
Name | Type | Default | Description |
---|---|---|---|
destroyBuffers |
boolean | false |
destroy the buffers associated with this geometry |
Returns the requested attribute.
Name | Type | Description |
---|---|---|
id |
string |
The name of the attribute required |
Returns:
Type | Description |
---|---|
Attribute |
|
Returns the requested buffer.
Name | Type | Description |
---|---|---|
id |
string |
The name of the buffer required. |
Returns:
Type | Description |
---|---|
Buffer |
|
Returns the index buffer
Returns:
Type | Description |
---|---|
Buffer |
|
Used to figure out how many vertices there are in this geometry
Returns:
Type | Description |
---|---|
number | the number of vertices in the geometry |