CSGSphere

Inherits: CSGPrimitive < CSGShape < GeometryInstance < VisualInstance < Spatial < Node < Object

A CSG Sphere shape.

Description

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

Properties

Materialmaterial 
intradial_segments12
floatradius1.0
intrings6
boolsmooth_facestrue

Property Descriptions

Setterset_material(value)
Getterget_material()

The material used to render the sphere.


  • int radial_segments
Default12
Setterset_radial_segments(value)
Getterget_radial_segments()

Number of vertical slices for the sphere.


Default1.0
Setterset_radius(value)
Getterget_radius()

Radius of the sphere.


Default6
Setterset_rings(value)
Getterget_rings()

Number of horizontal slices for the sphere.


Defaulttrue
Setterset_smooth_faces(value)
Getterget_smooth_faces()

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.