Class representing a cylindrical PrimitiveMesh.
    public class CylinderMesh : PrimitiveMesh

Class representing a cylindrical PrimitiveMesh. This class can be used to create cones by setting either the TopRadius or BottomRadius properties to 0.0.

Inheritance Chain

Constructors

    public CylinderMesh()

Properties

    public float BottomRadius { get; set; }

Bottom radius of the cylinder.

    public float Height { get; set; }

Full height of the cylinder.

    public int RadialSegments { get; set; }

Number of radial segments on the cylinder.

    public int Rings { get; set; }

Number of edge rings along the height of the cylinder.

    public float TopRadius { get; set; }

Top radius of the cylinder.

Methods

    [Obsolete("GetBottomRadius is deprecated. Use the BottomRadius property instead.")]
    public float GetBottomRadius()

Getter for BottomRadius

    [Obsolete("GetHeight is deprecated. Use the Height property instead.")]
    public float GetHeight()

Getter for Height

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

Getter for RadialSegments

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

Getter for Rings

    [Obsolete("GetTopRadius is deprecated. Use the TopRadius property instead.")]
    public float GetTopRadius()

Getter for TopRadius

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

Setter for BottomRadius

    [Obsolete("SetHeight is deprecated. Use the Height property instead.")]
    public void SetHeight(float height)

Setter for Height

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

Setter for RadialSegments

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

Setter for Rings

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

Setter for TopRadius

Tags: