Concave polygon shape.
    public class ConcavePolygonShape : Shape

Concave polygon shape resource, which can be set into a PhysicsBody or area. This shape is created by feeding a list of triangles.

Inheritance Chain

Constructors

    public ConcavePolygonShape()

Properties

    public Vector3[] Data { get; set; }

Methods

    [Obsolete("GetFaces is deprecated. Use the Data property instead.")]
    public Vector3[] GetFaces()

Returns the faces (an array of triangles).

    [Obsolete("SetFaces is deprecated. Use the Data property instead.")]
    public void SetFaces(Vector3[] faces)

Sets the faces (an array of triangles).

Tags: