프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Max | Vector2f | ||
Min | Vector2f | ||
Zero |
메소드 | 설명 | |
---|---|---|
Box2f ( System.Single minX, System.Single minY, System.Single maxX, System.Single maxY ) : System |
Create a Box2f by providing minimum and maximum extents.
|
|
Box2f ( Vector2f min, Vector2f max ) : System |
Create a Box2f by providing minimum and maximum extents.
|
|
Distance ( Vector2f point ) : System.Single |
Get the closest distance between this Box2f and the Vector2f.
|
|
Intersect ( Vector2f point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( Vector2f point ) : Vector2f |
Get the nearest point between this Box2f and a Vector2f. If the Vector2f is inside this Box2f, it is returned untouched.
|
|
NearestPointTo ( Vector2f &point, Vector2f &result ) : void |
Get the nearest point between this Box2f and a Vector2f. If the Vector2f is inside this Box2f, it is returned untouched.
|
|
Overlaps ( Vector2f point ) : bool |
Get whether this Box2f inclusively intersects with the Vector2f.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( System.Single minX, System.Single minY, System.Single sizeX, System.Single sizeY ) : |
Create a Box2f by providing the minimum extent and the size of each side.
|
|
Relative ( Vector2f min, Vector2f size ) : |
Create a Box2f by providing the minimum extent and the size of each side.
|
|
Relative ( System.Single minX, System.Single minY, System.Single sizeX, System.Single sizeY, |
Create a Box2f by providing the minimum extent and the size of each side.
|
|
Relative ( Vector2f min, Vector2f size, |
Create a Box2f by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box2f.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box2f.
|
public Box2f ( System.Single minX, System.Single minY, System.Single maxX, System.Single maxY ) : System | ||
minX | System.Single | |
minY | System.Single | |
maxX | System.Single | |
maxY | System.Single | |
리턴 | System |
public Box2f ( Vector2f min, Vector2f max ) : System | ||
min | Vector2f | |
max | Vector2f | |
리턴 | System |
public Distance ( Vector2f point ) : System.Single | ||
point | Vector2f | |
리턴 | System.Single |
public NearestPointTo ( Vector2f point ) : Vector2f | ||
point | Vector2f | |
리턴 | Vector2f |
public NearestPointTo ( Vector2f &point, Vector2f &result ) : void | ||
point | Vector2f | |
result | Vector2f | |
리턴 | void |
public Random ( |
||
rng | ||
result | Vector2f | |
리턴 | void |
public static Relative ( System.Single minX, System.Single minY, System.Single sizeX, System.Single sizeY ) : |
||
minX | System.Single | |
minY | System.Single | |
sizeX | System.Single | |
sizeY | System.Single | |
리턴 |
public static Relative ( Vector2f min, Vector2f size ) : |
||
min | Vector2f | |
size | Vector2f | |
리턴 |
public static Relative ( System.Single minX, System.Single minY, System.Single sizeX, System.Single sizeY, |
||
minX | System.Single | |
minY | System.Single | |
sizeX | System.Single | |
sizeY | System.Single | |
result | ||
리턴 | void |
public static Relative ( Vector2f min, Vector2f size, |
||
min | Vector2f | |
size | Vector2f | |
result | ||
리턴 | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
리턴 | string |