Struct CSGSphere

A CSG Sphere shape.

struct CSGSphere ;

This node allows you to create a sphere for use with the CSG system.

Properties

NameTypeDescription
radialSegments[get, set] longNumber of vertical slices for the sphere.
radius[get, set] doubleRadius of the sphere.
rings[get, set] longNumber of horizontal slices for the sphere.
smoothFaces[get, set] boolIf 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

NameDescription
getMaterial
getRadialSegments
getRadius
getRings
getSmoothFaces
setMaterial
setRadialSegments
setRadius
setRings
setSmoothFaces