League Toolkit League Toolkit
League Toolkit League Toolkit
DocFX + Singulink = ♥

Search Results for

    Struct Box

    Represents an Axis-Aligned Bounding Box

    Namespace: LeagueToolkit.Core.Primitives
    Assembly: LeagueToolkit.dll
    Syntax
    public struct Box

    Constructors

    | Improve this Doc View Source

    Box()

    Declaration
    public Box()
    | Improve this Doc View Source

    Box(Box)

    Creates a clone of a Box object

    Declaration
    public Box(Box box)
    Parameters
    Type Name Description
    Box box

    The Box to clone

    | Improve this Doc View Source

    Box(Vector3, Vector3)

    Initializes a new Box instance

    Declaration
    public Box(Vector3 min, Vector3 max)
    Parameters
    Type Name Description
    Vector3 min
    Vector3 max

    Fields

    | Improve this Doc View Source

    Max

    Declaration
    public Vector3 Max
    Field Value
    Type Description
    Vector3
    | Improve this Doc View Source

    Min

    Declaration
    public Vector3 Min
    Field Value
    Type Description
    Vector3
    | Improve this Doc View Source

    VERTEX_COUNT

    Declaration
    public const int VERTEX_COUNT = null
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ContainsPoint(Vector3)

    Determines wheter this Box contains the point

    Declaration
    public bool ContainsPoint(Vector3 point)
    Parameters
    Type Name Description
    Vector3 point

    The containing point

    Returns
    Type Description
    System.Boolean

    Wheter this Box contains the point

    | Improve this Doc View Source

    ExpandByPoint(Box, Vector3)

    Declaration
    public static Box ExpandByPoint(Box box, Vector3 point)
    Parameters
    Type Name Description
    Box box
    Vector3 point
    Returns
    Type Description
    Box
    | Improve this Doc View Source

    FromVertices(IEnumerable<Vector3>)

    Declaration
    public static Box FromVertices(IEnumerable<Vector3> vertices)
    Parameters
    Type Name Description
    IEnumerable<Vector3> vertices
    Returns
    Type Description
    Box
    | Improve this Doc View Source

    GetBoundingSphere()

    Declaration
    public Sphere GetBoundingSphere()
    Returns
    Type Description
    Sphere
    | Improve this Doc View Source

    GetCentralPoint()

    Declaration
    public Vector3 GetCentralPoint()
    Returns
    Type Description
    Vector3
    | Improve this Doc View Source

    GetSize()

    Calculates the size of this Box

    Declaration
    public Vector3 GetSize()
    Returns
    Type Description
    Vector3
    | Improve this Doc View Source

    GetVertex(Int32)

    Get vertex using same way League does
    xyz - 0-Min 1-Max

    000 - 0

    010 - 1

    100 - 2

    110 - 3

    001 - 4

    011 - 5

    101 - 6

    111 - 7

    Declaration
    public Vector3 GetVertex(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    Vector3