|
| GUISpriteSheet (string identifier) |
|
void | Draw (ISpriteBatch spriteBatch, Vector2 pos, float rotate=0, float scale=1, SpriteEffects spriteEffects=SpriteEffects.None) |
|
void | Draw (ISpriteBatch spriteBatch, Vector2 pos, Color color, Vector2 origin, float rotate=0, float scale=1, SpriteEffects spriteEffects=SpriteEffects.None, float? depth=null) |
|
void | Draw (ISpriteBatch spriteBatch, int spriteIndex, Vector2 pos, Color color, Vector2 origin, float rotate, Vector2 scale, SpriteEffects spriteEffects=SpriteEffects.None, float? depth=null) |
|
| GUISelector (string identifier) |
|
Definition at line 389 of file GUIPrefab.cs.
◆ GUISpriteSheet()
Barotrauma.GUISpriteSheet.GUISpriteSheet |
( |
string |
identifier | ) |
|
◆ Draw() [1/3]
void Barotrauma.GUISpriteSheet.Draw |
( |
ISpriteBatch |
spriteBatch, |
|
|
int |
spriteIndex, |
|
|
Vector2 |
pos, |
|
|
Color |
color, |
|
|
Vector2 |
origin, |
|
|
float |
rotate, |
|
|
Vector2 |
scale, |
|
|
SpriteEffects |
spriteEffects = SpriteEffects.None , |
|
|
float? |
depth = null |
|
) |
| |
◆ Draw() [2/3]
void Barotrauma.GUISpriteSheet.Draw |
( |
ISpriteBatch |
spriteBatch, |
|
|
Vector2 |
pos, |
|
|
Color |
color, |
|
|
Vector2 |
origin, |
|
|
float |
rotate = 0 , |
|
|
float |
scale = 1 , |
|
|
SpriteEffects |
spriteEffects = SpriteEffects.None , |
|
|
float? |
depth = null |
|
) |
| |
◆ Draw() [3/3]
void Barotrauma.GUISpriteSheet.Draw |
( |
ISpriteBatch |
spriteBatch, |
|
|
Vector2 |
pos, |
|
|
float |
rotate = 0 , |
|
|
float |
scale = 1 , |
|
|
SpriteEffects |
spriteEffects = SpriteEffects.None |
|
) |
| |
◆ operator SpriteSheet()
◆ FrameCount
int Barotrauma.GUISpriteSheet.FrameCount |
|
get |
◆ FrameSize
Point Barotrauma.GUISpriteSheet.FrameSize |
|
get |
◆ Value