|
Barotrauma Client Doc
|
Public Types | |
| enum class | DrawTargetType { Camera , World } |
Public Member Functions | |
| EditorImage (string path, Vector2 pos) | |
| bool | IsMouseOn () |
| Vector2 | GetMousePos () |
| void | Update (float deltaTime) |
| void | UpdateRectangle () |
| void | Draw (SpriteBatch spriteBatch) |
| void | DrawEditing (SpriteBatch spriteBatch, Camera cam) |
Public Attributes | |
| Texture2D? | Image |
| string | ImagePath |
| Vector2 | Position |
| float | Rotation |
| float | Opacity = 1f |
| float | Scale = 1f |
| DrawTargetType | DrawTarget |
| bool | Selected |
| Rectangle | Bounds |
Definition at line 329 of file EditorImage.cs.
|
strong |
| Enumerator | |
|---|---|
| Camera | |
| World | |
Definition at line 331 of file EditorImage.cs.
| Barotrauma.EditorImage.EditorImage | ( | string | path, |
| Vector2 | pos | ||
| ) |
Definition at line 353 of file EditorImage.cs.
| void Barotrauma.EditorImage.Draw | ( | SpriteBatch | spriteBatch | ) |
Definition at line 548 of file EditorImage.cs.
| void Barotrauma.EditorImage.DrawEditing | ( | SpriteBatch | spriteBatch, |
| Camera | cam | ||
| ) |
Definition at line 555 of file EditorImage.cs.
| Vector2 Barotrauma.EditorImage.GetMousePos | ( | ) |
Definition at line 363 of file EditorImage.cs.
| bool Barotrauma.EditorImage.IsMouseOn | ( | ) |
| void Barotrauma.EditorImage.Update | ( | float | deltaTime | ) |
Definition at line 378 of file EditorImage.cs.
| void Barotrauma.EditorImage.UpdateRectangle | ( | ) |
Definition at line 536 of file EditorImage.cs.
| Rectangle Barotrauma.EditorImage.Bounds |
Definition at line 346 of file EditorImage.cs.
| DrawTargetType Barotrauma.EditorImage.DrawTarget |
Definition at line 343 of file EditorImage.cs.
| Texture2D? Barotrauma.EditorImage.Image |
Definition at line 337 of file EditorImage.cs.
| string Barotrauma.EditorImage.ImagePath |
Definition at line 338 of file EditorImage.cs.
| float Barotrauma.EditorImage.Opacity = 1f |
Definition at line 341 of file EditorImage.cs.
| Vector2 Barotrauma.EditorImage.Position |
Definition at line 339 of file EditorImage.cs.
| float Barotrauma.EditorImage.Rotation |
Definition at line 340 of file EditorImage.cs.
| float Barotrauma.EditorImage.Scale = 1f |
Definition at line 342 of file EditorImage.cs.
| bool Barotrauma.EditorImage.Selected |
Definition at line 344 of file EditorImage.cs.