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

    [Obsolete("GetRadius is deprecated. Use the Radius property instead.")]
    public float GetRadius()

Getter for Radius

    [Obsolete("SetRadius is deprecated. Use the Radius property instead.")]
    public void SetRadius(float radius)

Setter for Radius

Tags: