Squirrel/Client/Functions/GUISprite/GUISprite
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|GUISprite}} This function creates a GUI sprite (an image). == Syntax == ''GUISprite'' can take different lists of parameters. These are: <code>GUISprite GUISp…') |
Revision as of 02:30, 11 December 2010
This function creates a GUI sprite (an image).
Syntax
GUISprite can take different lists of parameters. These are:
GUISprite GUISprite( string file )
GUISprite GUISprite( string file, VectorScreen pos )
GUISprite GUISprite( string file, VectorScreen pos, float rotation, VectorScreen rotationcentre )
Arguments
- file - The filename of the sprite to be drawn
- pos - The position of the sprite on screen or related to its parent. This parameter is optional
- rotation - The sprite rotation in degrees. This parameter is optional
- rotationcentre - The rotation centre relative to the sprite coordinates. This parameter is optional
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation here.
-- todo
Notes
Used functions and other notes here.