Mesh.this - multiple declarations
Function Mesh.this
Initialize a new mesh.
this
(
T[] vertices = [],
uint[] indices = []
);
Parameters
| Name | Description |
|---|---|
| vertices | Mesh vertex data to optionally pre-populate. |
| indices | Mesh vertex indices to optionally pre-populate. |
Function Mesh.this
Initialize a new mesh.
this
(
Primitive topology = Primitive .triangleStrip,
T[] vertices = [],
uint[] indices = []
);
Parameters
| Name | Description |
|---|---|
| topology | |
| vertices | Mesh vertex data to optionally pre-populate. |
| indices | Mesh vertex indices to optionally pre-populate. |
Function Mesh.this
Initialize a new named mesh.
this
(
string name,
T[] vertices = [],
uint[] indices = []
);
Parameters
| Name | Description |
|---|---|
| name | The name of this mesh. |
| vertices | Mesh vertex data to optionally pre-populate. |
| indices | Mesh vertex indices to optionally pre-populate. |
Function Mesh.this
Initialize a new named mesh.
this
(
string name,
Primitive topology = Primitive .triangleStrip,
T[] vertices = [],
uint[] indices = []
);
Parameters
| Name | Description |
|---|---|
| name | The name of this mesh. |
| topology | |
| vertices | Mesh vertex data to optionally pre-populate. |
| indices | Mesh vertex indices to optionally pre-populate. |