Class representing a cylindrical PrimitiveMesh.
    public class CylinderMesh : PrimitiveMesh

Class representing a cylindrical PrimitiveMesh.

Inheritance Chain

Constructors

    public CylinderMesh()

Properties

    public float BottomRadius { get; set; }

Bottom radius of the cylinder. Defaults to 1.0.

    public float Height { get; set; }

Full height of the cylinder. Defaults to 2.0.

    public int RadialSegments { get; set; }

Number of radial segments on the cylinder. Defaults to 64.

    public int Rings { get; set; }

Number of edge rings along the height of the cylinder. Defaults to 4.

    public float TopRadius { get; set; }

Top radius of the cylinder. Defaults to 1.0.

Methods

    public float GetBottomRadius()

Getter for BottomRadius

    public float GetHeight()

Getter for Height

    public int GetRadialSegments()

Getter for RadialSegments

    public int GetRings()

Getter for Rings

    public float GetTopRadius()

Getter for TopRadius

    public void SetBottomRadius(float radius)

Setter for BottomRadius

    public void SetHeight(float height)

Setter for Height

    public void SetRadialSegments(int segments)

Setter for RadialSegments

    public void SetRings(int rings)

Setter for Rings

    public void SetTopRadius(float radius)

Setter for TopRadius

Tags: