Method CreateCube
CreateCube(double, double, double, int, bool)
Create a new cube
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateCube(double sizeX, double sizeY, double sizeZ, int subdivision = 1, bool generateUV = true)
Parameters
| Type | Name | Description |
|---|---|---|
| double | sizeX | Size of the Cube on the x axis |
| double | sizeY | Size of the Cube on the y axis |
| double | sizeZ | Size of the Cube on the z axis |
| int | subdivision | Subdivision of the Cube on all the axis |
| bool | generateUV | Generation of the UV |
Returns
| Type | Description |
|---|---|
| uint |