프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Bottom | float | ||
Left | float | ||
Right | float | ||
Top | float |
메소드 | 설명 | |
---|---|---|
Box2 ( System.Vector2 topLeft, System.Vector2 bottomRight ) : System |
Constructs a new Box2 with the specified dimensions.
|
|
Box2 ( float left, float top, float right, float bottom ) : System |
Constructs a new Box2 with the specified dimensions.
|
|
FromTLRB ( float top, float left, float right, float bottom ) : |
Creates a new Box2 with the specified dimensions.
|
|
ToString ( ) : string |
Returns a System.String describing the current instance.
|
public Box2 ( System.Vector2 topLeft, System.Vector2 bottomRight ) : System | ||
topLeft | System.Vector2 | AnOpenTK.Vector2 describing the top-left corner of the Box2. |
bottomRight | System.Vector2 | An OpenTK.Vector2 describing the bottom-right corner of the Box2. |
리턴 | System |
public Box2 ( float left, float top, float right, float bottom ) : System | ||
left | float | The position of the left boundary. |
top | float | The position of the top boundary. |
right | float | The position of the right boundary. |
bottom | float | The position of the bottom boundary. |
리턴 | System |
public static FromTLRB ( float top, float left, float right, float bottom ) : |
||
top | float | The position of the top boundary. |
left | float | The position of the left boundary. |
right | float | The position of the right boundary. |
bottom | float | The position of the bottom boundary. |
리턴 |