Class representing a capsule-shaped PrimitiveMesh.
    public class CapsuleMesh : PrimitiveMesh

Class representing a capsule-shaped PrimitiveMesh.

Inheritance Chain

Constructors

    public CapsuleMesh()

Properties

    public float MidHeight { get; set; }

Height of the capsule mesh from the center point.

    public int RadialSegments { get; set; }

Number of radial segments on the capsule mesh.

    public float Radius { get; set; }

Radius of the capsule mesh.

    public int Rings { get; set; }

Number of rings along the height of the capsule.

Methods

    [Obsolete("GetMidHeight is deprecated. Use the MidHeight property instead.")]
    public float GetMidHeight()

Getter for MidHeight

    [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("SetMidHeight is deprecated. Use the MidHeight property instead.")]
    public void SetMidHeight(float midHeight)

Setter for MidHeight

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

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

Tags: