Struct CSGSphere
A CSG Sphere shape.
struct CSGSphere
;
This node allows you to create a sphere for use with the CSG system.
Properties
| Name | Type | Description |
|---|---|---|
radialSegments[get, set]
|
long | Number of vertical slices for the sphere. |
radius[get, set]
|
double | Radius of the sphere. |
rings[get, set]
|
long | Number of horizontal slices for the sphere. |
smoothFaces[get, set]
|
bool | If true the normals of the sphere are set to give a smooth effect making the sphere seem rounded. If false the sphere will have a flat shaded look.
|
Methods
| Name | Description |
|---|---|
getMaterial
|
|
getRadialSegments
|
|
getRadius
|
|
getRings
|
|
getSmoothFaces
|
|
setMaterial
|
|
setRadialSegments
|
|
setRadius
|
|
setRings
|
|
setSmoothFaces
|