Circular shape for 2D collisions.
    public class CircleShape2D : Shape2D

Circular shape for 2D collisions. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast.

Inheritance Chain

Constructors

    public CircleShape2D()

Properties

    public float Radius { get; set; }

The circle’s radius.

Methods

    public float GetRadius()

Getter for Radius

    public void SetRadius(float radius)

Setter for Radius

Tags: