Skip to content

CircleShape Class

Definition

Namespace: Brine2D.Physics

C#
public sealed record CircleShape : Brine2D.Physics.ShapeDefinition, System.IEquatable<Brine2D.Physics.CircleShape>

Inheritance System.ObjectShapeDefinition → CircleShape

Implements System.IEquatable<CircleShape>

Constructors
CircleShape\(float\)
Properties
Offset Local-space offset of the circle center from the body origin in pixels. Use this to position the circle away from the body pivot on compound bodies. Default is System.Numerics.Vector2.Zero.