Barotrauma Client Doc
Barotrauma.Items.Components.IDrawableComponent Interface Reference
Inheritance diagram for Barotrauma.Items.Components.IDrawableComponent:
Barotrauma.Items.Components.DockingPort Barotrauma.Items.Components.DockingPort Barotrauma.Items.Components.Door Barotrauma.Items.Components.Door Barotrauma.Items.Components.Engine Barotrauma.Items.Components.Holdable Barotrauma.Items.Components.ItemContainer Barotrauma.Items.Components.ItemContainer Barotrauma.Items.Components.ItemLabel Barotrauma.Items.Components.ItemLabel Barotrauma.Items.Components.Ladder Barotrauma.Items.Components.LightComponent Barotrauma.Items.Components.LightComponent Barotrauma.Items.Components.MotionSensor Barotrauma.Items.Components.PowerContainer Barotrauma.Items.Components.PowerContainer Barotrauma.Items.Components.Repairable Barotrauma.Items.Components.Rope Barotrauma.Items.Components.Sprayer Barotrauma.Items.Components.Turret Barotrauma.Items.Components.Turret Barotrauma.Items.Components.WifiComponent Barotrauma.Items.Components.Wire Barotrauma.Items.Components.Wire

Public Member Functions

void Draw (SpriteBatch spriteBatch, bool editing, float itemDepth=-1, Color? overrideColor=null)
 

Properties

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...
 

Detailed Description

Member Function Documentation

◆ Draw()

Property Documentation

◆ DrawSize

Vector2 Barotrauma.Items.Components.IDrawableComponent.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.

Definition at line 25 of file BarotraumaShared/SharedSource/Items/Components/ItemComponent.cs.