Convex polygon shape for 3D physics.
    public class ConvexPolygonShape : Shape

Convex polygon shape resource, which can be added to a PhysicsBody or area.

Inheritance Chain

Constructors

    public ConvexPolygonShape()

Properties

    public Vector3[] Points { get; set; }

The list of 3D points forming the convex polygon shape.

Methods

    [Obsolete("GetPoints is deprecated. Use the Points property instead.")]
    public Vector3[] GetPoints()

Getter for Points

    [Obsolete("SetPoints is deprecated. Use the Points property instead.")]
    public void SetPoints(Vector3[] points)

Setter for Points

Tags: