logo
Brine2D Documentation
CircleShape Class
Initializing search
    • Home
    • Get Started
      • Installation
      • Quick Start
      • Your First Game
      • Project Structure
      • Configuration
    • Tutorials
      • Moving Sprites
      • Animation System
      • Collision Detection
      • Building a Platformer
      • Top-Down Adventure
    • Fundamentals
      • Why No Editor?
      • Architecture
      • Dependency Injection
      • Game Loop
      • Builder Pattern
      • ECS Deep Dive
    • Rendering
      • Rendering Architecture
      • GPU Renderer
      • Sprites & Textures
      • Texture Atlasing
      • Post-Processing
      • Cameras
      • Particles
      • Drawing Primitives
    • Input
      • Keyboard
      • Mouse
      • Gamepad Support
      • Input Actions
      • Input Layers
    • ECS
      • Getting Started
      • Entities
      • Components
      • Systems
      • Queries
      • Multi-Threading
    • Assets
      • Loading Assets
      • Asset Manifests
      • Brine2D.Build
      • Animation
        • Clips & Frames
        • Animator Component
        • State Machine
        • Blend Trees
        • Layers
        • Aseprite Integration
        • Clip Events
      • Audio
        • Getting Started
        • Sound Effects
        • Music Playback
        • Spatial Audio
      • Scenes
        • Scene Transitions
      • Collision
        • Collision System
        • Shapes & Bodies
        • Kinematic Character
      • Tilemaps
        • Loading Tilemaps
        • Rendering Tiles
      • UI
        • UI Components
        • Custom UI
      • Performance
        • Monitoring
        • Optimization
      • Events
        • Window Events
    • What's New
      • v0.9.7-beta
      • v0.9.6-beta
      • v0.9.5-beta
      • v0.9.0-beta
      • v0.8.0-beta
      • v0.7.0-beta
      • v0.6.0-beta
    • API Reference
      • Animation
      • Assets
      • Audio
      • Collision
      • Common
      • Core
      • ECS
        • Components
          • Joints
        • Query
        • Serialization
        • Systems
      • Engine
        • Transitions
      • Events
      • Hosting
      • Input
      • Performance
      • Physics
      • Pooling
      • Rendering
        • PostProcessing
        • SDL
          • PostProcessing
            • Effects
            • Shaders
          • Shaders
            • PostProcessing
          • TextureAtlas
        • Text
        • TextureAtlas
      • Threading
      • Tilemap
      • UI
    • Samples
      • FeatureDemos
      • Basic Game
      • Animation Demo
      • Collision Demo
      • ECS Demo
    • Contributing
      • Code Style
      • Building from Source

    CircleShape Class

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

    Inheritance System.Object → ShapeDefinition → 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.
    Made with Material for MkDocs