Méthode | Description | |
---|---|---|
Move ( Vector2f offset ) : void |
Move the view
|
|
Reset ( FloatRect rectangle ) : void |
Rebuild the view from a rectangle
|
|
Rotate ( float angle ) : void |
Rotate the view
|
|
ToString ( ) : string |
Provide a string describing the object
|
|
View ( ) : System |
Create a default view (1000x1000)
|
|
View ( FloatRect viewRect ) : System |
Construct the view from a rectangle
|
|
View ( Vector2f center, Vector2f size ) : System |
Construct the view from its center and size
|
|
View ( |
Construct the view from another view
|
|
Zoom ( float factor ) : void |
Resize the view rectangle to simulate a zoom / unzoom effect
|
Méthode | Description | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
Méthode | Description | |
---|---|---|
View ( |
Internal constructor for other classes which need to manipulate raw views
|
|
sfView_copy ( |
||
sfView_create ( ) : |
||
sfView_createFromRect ( FloatRect Rect ) : |
||
sfView_destroy ( |
||
sfView_getCenter ( |
||
sfView_getRotation ( |
||
sfView_getSize ( |
||
sfView_getViewport ( |
||
sfView_move ( |
||
sfView_reset ( |
||
sfView_rotate ( |
||
sfView_setCenter ( |
||
sfView_setRotation ( |
||
sfView_setSize ( |
||
sfView_setViewport ( |
||
sfView_zoom ( |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call ? |
Résultat | void |
public Move ( Vector2f offset ) : void | ||
offset | Vector2f | Offset to move the view |
Résultat | void |
public Reset ( FloatRect rectangle ) : void | ||
rectangle | FloatRect | Rectangle defining the position and size of the view |
Résultat | void |
public Rotate ( float angle ) : void | ||
angle | float | Angle of rotation, in degrees |
Résultat | void |
public View ( FloatRect viewRect ) : System | ||
viewRect | FloatRect | Rectangle defining the position and size of the view |
Résultat | System |
public View ( Vector2f center, Vector2f size ) : System | ||
center | Vector2f | Center of the view |
size | Vector2f | Size of the view |
Résultat | System |
public Zoom ( float factor ) : void | ||
factor | float | Zoom factor to apply, relative to the current zoom |
Résultat | void |