A CSG Sphere shape.
    public class CSGSphere : CSGPrimitive

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

Inheritance Chain

Constructors

    public CSGSphere()

Properties

    public Material Material { get; set; }

The material used to render the sphere.

    public int RadialSegments { get; set; }

Number of vertical slices for the sphere.

    public float Radius { get; set; }

Radius of the sphere.

    public int Rings { get; set; }

Number of horizontal slices for the sphere.

    public bool SmoothFaces { get; set; }

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

    [Obsolete("GetMaterial is deprecated. Use the Material property instead.")]
    public Material GetMaterial()

Getter for Material

    [Obsolete("GetRadialSegments is deprecated. Use the RadialSegments property instead.")]
    public int GetRadialSegments()

Getter for RadialSegments

    [Obsolete("GetRadius is deprecated. Use the Radius property instead.")]
    public float GetRadius()

Getter for Radius

    [Obsolete("GetRings is deprecated. Use the Rings property instead.")]
    public int GetRings()

Getter for Rings

    [Obsolete("GetSmoothFaces is deprecated. Use the SmoothFaces property instead.")]
    public bool GetSmoothFaces()

Getter for SmoothFaces

    [Obsolete("SetMaterial is deprecated. Use the Material property instead.")]
    public void SetMaterial(Material material)

Setter for Material

    [Obsolete("SetRadialSegments is deprecated. Use the RadialSegments property instead.")]
    public void SetRadialSegments(int radialSegments)

Setter for RadialSegments

    [Obsolete("SetRadius is deprecated. Use the Radius property instead.")]
    public void SetRadius(float radius)

Setter for Radius

    [Obsolete("SetRings is deprecated. Use the Rings property instead.")]
    public void SetRings(int rings)

Setter for Rings

    [Obsolete("SetSmoothFaces is deprecated. Use the SmoothFaces property instead.")]
    public void SetSmoothFaces(bool smoothFaces)

Setter for SmoothFaces

Tags: