SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Struct BoundsData

    Namespace: SF.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct BoundsData

    Constructors

    BoundsData(Collider2D)

    Declaration
    public BoundsData(Collider2D collider2D)
    Parameters
    Type Name Description
    Collider2D collider2D

    Fields

    Bounds

    Declaration
    public Bounds Bounds
    Field Value
    Type Description
    Bounds

    Properties

    BottomCenter

    Declaration
    public readonly Vector2 BottomCenter { get; }
    Property Value
    Type Description
    Vector2

    BottomLeft

    Declaration
    public readonly Vector2 BottomLeft { get; }
    Property Value
    Type Description
    Vector2

    BottomRight

    Declaration
    public readonly Vector2 BottomRight { get; }
    Property Value
    Type Description
    Vector2

    MiddleCenter

    Declaration
    public readonly Vector2 MiddleCenter { get; }
    Property Value
    Type Description
    Vector2

    MiddleLeft

    Declaration
    public readonly Vector2 MiddleLeft { get; }
    Property Value
    Type Description
    Vector2

    MiddleRight

    Declaration
    public readonly Vector2 MiddleRight { get; }
    Property Value
    Type Description
    Vector2

    TopCenter

    Declaration
    public readonly Vector2 TopCenter { get; }
    Property Value
    Type Description
    Vector2

    TopLeft

    Declaration
    public readonly Vector2 TopLeft { get; }
    Property Value
    Type Description
    Vector2

    TopRight

    Declaration
    public readonly Vector2 TopRight { get; }
    Property Value
    Type Description
    Vector2

    Methods

    UpdateBounds(Collider2D)

    Declaration
    public void UpdateBounds(Collider2D collider2D)
    Parameters
    Type Name Description
    Collider2D collider2D
    In This Article
    Back to top Generated by DocFX