Method | 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
|
Method | Description | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
Method | 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 ? |
return | void |
public Move ( Vector2f offset ) : void | ||
offset | Vector2f | Offset to move the view |
return | void |
public Reset ( FloatRect rectangle ) : void | ||
rectangle | FloatRect | Rectangle defining the position and size of the view |
return | void |
public Rotate ( float angle ) : void | ||
angle | float | Angle of rotation, in degrees |
return | void |
public View ( FloatRect viewRect ) : System | ||
viewRect | FloatRect | Rectangle defining the position and size of the view |
return | System |
public View ( Vector2f center, Vector2f size ) : System | ||
center | Vector2f | Center of the view |
size | Vector2f | Size of the view |
return | System |
public Zoom ( float factor ) : void | ||
factor | float | Zoom factor to apply, relative to the current zoom |
return | void |