Class representing a prism-shaped PrimitiveMesh.
    public class PrismMesh : PrimitiveMesh

Class representing a prism-shaped PrimitiveMesh.

Inheritance Chain

Constructors

    public PrismMesh()

Properties

    public float LeftToRight { get; set; }

Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.

    public Vector3 Size { get; set; }

Size of the prism.

    public int SubdivideDepth { get; set; }

Number of added edge loops along the Z axis.

    public int SubdivideHeight { get; set; }

Number of added edge loops along the Y axis.

    public int SubdivideWidth { get; set; }

Number of added edge loops along the X axis.

Methods

    [Obsolete("GetLeftToRight is deprecated. Use the LeftToRight property instead.")]
    public float GetLeftToRight()

Getter for LeftToRight

    [Obsolete("GetSize is deprecated. Use the Size property instead.")]
    public Vector3 GetSize()

Getter for Size

    [Obsolete("GetSubdivideDepth is deprecated. Use the SubdivideDepth property instead.")]
    public int GetSubdivideDepth()

Getter for SubdivideDepth

    [Obsolete("GetSubdivideHeight is deprecated. Use the SubdivideHeight property instead.")]
    public int GetSubdivideHeight()

Getter for SubdivideHeight

    [Obsolete("GetSubdivideWidth is deprecated. Use the SubdivideWidth property instead.")]
    public int GetSubdivideWidth()

Getter for SubdivideWidth

    [Obsolete("SetLeftToRight is deprecated. Use the LeftToRight property instead.")]
    public void SetLeftToRight(float leftToRight)

Setter for LeftToRight

    [Obsolete("SetSize is deprecated. Use the Size property instead.")]
    public void SetSize(Vector3 size)

Setter for Size

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

Setter for SubdivideDepth

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

Setter for SubdivideHeight

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

Setter for SubdivideWidth

Tags: