Method CreateCone
CreateCone(double, double, int, bool)
Create a new cone
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateCone(double bottomRadius, double height, int sides = 16, bool generateUV = true)
Parameters
| Type | Name | Description |
|---|---|---|
| double | bottomRadius | Radius of the bottom of the cone |
| double | height | Height of the cone |
| int | sides | Number of sides of the cone |
| bool | generateUV | Generation of the UV |
Returns
| Type | Description |
|---|---|
| uint |