Search Results for

    Show / Hide Table of Contents

    Interface ICircleColliderShape2D

    Interface for a Circle Shape of 2D physics.

    Inherited Members
    IColliderShape2D.Radius
    IColliderShape2D.Type
    IColliderShape2D.ChildCount
    IColliderShape2D.InternalShape
    IColliderShape2D.TestPoint(ref Vector2, ref Vector2, float)
    IColliderShape2D.TestRectangle(ref RectangleF, ref Vector2, float)
    IColliderShape2D.TestShape(Vector2, float, IColliderShape2D, Vector2, float)
    Namespace: Evergine.Common.Physics2D
    Assembly: Evergine.Common.dll
    Syntax
    public interface ICircleColliderShape2D : IColliderShape2D

    Properties

    Position

    Gets or sets the circle position.

    Declaration
    Vector2 Position { get; set; }
    Property Value
    Type Description
    Vector2

    Methods

    SetShape(float, Vector2)

    Set the shape of the circle collider.

    Declaration
    void SetShape(float radius, Vector2 position)
    Parameters
    Type Name Description
    float radius

    The radius of the circle.

    Vector2 position

    The position offset of the circle respect the rigid body.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX