CSGSphere

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

Category: Core

Brief Description

A CSG Sphere shape.

Properties

Materialmaterial
intradial_segments
floatradius
intrings
boolsmooth_faces

Description

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

Property Descriptions

Setterset_material(value)
Getterget_material()

The material used to render the sphere.


  • int radial_segments
Setterset_radial_segments(value)
Getterget_radial_segments()

Number of vertical slices for the sphere.


Setterset_radius(value)
Getterget_radius()

Radius of the sphere.


Setterset_rings(value)
Getterget_rings()

Number of horizontal slices for the sphere.


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.