Barotrauma Client Doc
Barotrauma.GUISprite Class Reference
Inheritance diagram for Barotrauma.GUISprite:
Barotrauma.GUISelector< GUISpritePrefab >

Public Member Functions

 GUISprite (string identifier)
 
void Draw (SpriteBatch spriteBatch, Rectangle rect, Color color, SpriteEffects spriteEffects=SpriteEffects.None)
 
- Public Member Functions inherited from Barotrauma.GUISelector< GUISpritePrefab >
 GUISelector (string identifier)
 

Static Public Member Functions

static implicit operator UISprite (GUISprite reference)
 

Properties

UISprite Value [get]
 

Additional Inherited Members

- Public Attributes inherited from Barotrauma.GUISelector< GUISpritePrefab >
readonly PrefabSelector< T > Prefabs
 
readonly Identifier Identifier
 

Detailed Description

Definition at line 354 of file GUIPrefab.cs.

Constructor & Destructor Documentation

◆ GUISprite()

Barotrauma.GUISprite.GUISprite ( string  identifier)

Definition at line 356 of file GUIPrefab.cs.

Member Function Documentation

◆ Draw()

void Barotrauma.GUISprite.Draw ( SpriteBatch  spriteBatch,
Rectangle  rect,
Color  color,
SpriteEffects  spriteEffects = SpriteEffects.None 
)

Definition at line 368 of file GUIPrefab.cs.

◆ operator UISprite()

static implicit Barotrauma.GUISprite.operator UISprite ( GUISprite  reference)
static

Property Documentation

◆ Value

UISprite Barotrauma.GUISprite.Value
get

Definition at line 358 of file GUIPrefab.cs.