Struct Box
Represents an Axis-Aligned Bounding Box
Assembly: LeagueToolkit.dll
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Creates a clone of a Box object
Declaration
Parameters
Type |
Name |
Description |
Box |
box |
The Box to clone
|
|
Improve this Doc
View Source
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
Declaration
Field Value
|
Improve this Doc
View Source
Declaration
Field Value
|
Improve this Doc
View Source
Declaration
public const int VERTEX_COUNT = null
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
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
Declaration
public static Box ExpandByPoint(Box box, Vector3 point)
Parameters
Type |
Name |
Description |
Box |
box |
|
Vector3 |
point |
|
Returns
|
Improve this Doc
View Source
Declaration
public static Box FromVertices(IEnumerable<Vector3> vertices)
Parameters
Type |
Name |
Description |
IEnumerable<Vector3> |
vertices |
|
Returns
|
Improve this Doc
View Source
Declaration
public Sphere GetBoundingSphere()
Returns
|
Improve this Doc
View Source
Declaration
public Vector3 GetCentralPoint()
Returns
|
Improve this Doc
View Source
Calculates the size of this Box
Declaration
Returns
|
Improve this Doc
View Source
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