Struct CSGCylinder
A CSG Cylinder shape.
struct CSGCylinder
;
This node allows you to create a cylinder (or cone) for use with the CSG system.
Properties
| Name | Type | Description |
|---|---|---|
cone[get, set]
|
bool | If true a cone is created, the radius will only apply to one side.
|
height[get, set]
|
double | The height of the cylinder. |
radius[get, set]
|
double | The radius of the cylinder. |
sides[get, set]
|
long | The number of sides of the cylinder, the higher this number the more detail there will be in the cylinder. |
smoothFaces[get, set]
|
bool | If true the normals of the cylinder are set to give a smooth effect making the cylinder seem rounded. If false the cylinder will have a flat shaded look.
|
Methods
| Name | Description |
|---|---|
getHeight
|
|
getMaterial
|
|
getRadius
|
|
getSides
|
|
getSmoothFaces
|
|
isCone
|
|
setCone
|
|
setHeight
|
|
setMaterial
|
|
setRadius
|
|
setSides
|
|
setSmoothFaces
|