new MeshSimple (options) overrides
Name | Type | Description |
---|---|---|
options |
SimpleMeshOptions |
Options to be used for construction |
Extends
Members
Upload vertices buffer each frame.
Collection of vertices data.
Inherited Properties
From class Mesh
geometry inherited
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.
material inherited
Alias for shader.
roundPixels inherited
Whether or not to round the x/y position of the mesh.
shader inherited
Represents the vertex and fragment shaders that processes the geometry and runs on the GPU. Can be shared between multiple Mesh objects.
texture inherited
The texture that the Mesh uses. Null for non-MeshMaterial shaders