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

    public Vector3[] GetPoints()

Getter for Points

    public void SetPoints(Vector3[] points)

Setter for Points

Tags: