|
void | Draw (SpriteBatch spriteBatch, bool editing, float itemDepth=-1, Color? overrideColor=null) |
|
|
Vector2 | DrawSize [get] |
| The extents of the sprites or other graphics this component needs to draw. Used to determine which items are visible on the screen. More...
|
|
◆ Draw()
void Barotrauma.Items.Components.IDrawableComponent.Draw |
( |
SpriteBatch |
spriteBatch, |
|
|
bool |
editing, |
|
|
float |
itemDepth = -1 , |
|
|
Color? |
overrideColor = null |
|
) |
| |
Implemented in Barotrauma.Items.Components.Turret, Barotrauma.Items.Components.PowerContainer, Barotrauma.Items.Components.LightComponent, Barotrauma.Items.Components.ItemLabel, Barotrauma.Items.Components.ItemContainer, Barotrauma.Items.Components.DockingPort, Barotrauma.Items.Components.Wire, Barotrauma.Items.Components.WifiComponent, Barotrauma.Items.Components.MotionSensor, Barotrauma.Items.Components.Rope, Barotrauma.Items.Components.Repairable, Barotrauma.Items.Components.Engine, Barotrauma.Items.Components.Ladder, Barotrauma.Items.Components.Sprayer, Barotrauma.Items.Components.Holdable, and Barotrauma.Items.Components.Door.
◆ DrawSize
Vector2 Barotrauma.Items.Components.IDrawableComponent.DrawSize |
|
get |