Properties:
Name | Type | Description |
---|---|---|
geometry |
GEOMETRY |
Includes vertex positions, face indices, colors, UVs, and custom attributes within buffers, reducing the cost of passing all this data to the GPU. Can be shared between multiple Mesh objects. |
roundPixels |
boolean |
Whether or not to round the x/y position. |
shader |
SHADER |
Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects. |
texture |
Texture |
The texture that the Mesh uses. Null for non-MeshMaterial shaders |
Extends
Members
Includes vertex positions, face indices, colors, UVs, and custom attributes within buffers, reducing the cost of passing all this data to the GPU. Can be shared between multiple Mesh objects.
Whether or not to round the x/y position.
Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.
texture Texture
The texture that the Mesh uses. Null for non-MeshMaterial shaders