Class CombatModeIndicatorsOverlay
This shows something like crosshairs for the combat mode next to the mouse cursor.
For weapons with the gun class, a crosshair of one type is displayed,
while for all other types of weapons and items in hand, as well as for an empty hand,
a crosshair of a different type is displayed. These crosshairs simply show the state of combat mode (on|off).
Inheritance
System.Object
Robust.Client.Graphics.Overlay
CombatModeIndicatorsOverlay
Assembly: Content.Client.dll
Syntax
public sealed class CombatModeIndicatorsOverlay : Overlay
Constructors
|
Improve this Doc
View Source
CombatModeIndicatorsOverlay(IInputManager, IEntityManager, IEyeManager, CombatModeSystem, HandsSystem)
Declaration
public CombatModeIndicatorsOverlay(IInputManager input, IEntityManager entMan, IEyeManager eye, CombatModeSystem combatSys, HandsSystem hands)
Parameters
Type |
Name |
Description |
Robust.Client.Input.IInputManager |
input |
|
IEntityManager |
entMan |
|
Robust.Client.Graphics.IEyeManager |
eye |
|
CombatModeSystem |
combatSys |
|
HandsSystem |
hands |
|
Fields
|
Improve this Doc
View Source
MainColor
Declaration
Field Value
|
Improve this Doc
View Source
Scale
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StrokeColor
Declaration
Field Value
Properties
|
Improve this Doc
View Source
Space
Declaration
public override OverlaySpace Space { get; }
Property Value
Type |
Description |
Robust.Shared.Enums.OverlaySpace |
|
Overrides
Robust.Client.Graphics.Overlay.Space
Methods
|
Improve this Doc
View Source
BeforeDraw(OverlayDrawArgs)
Declaration
protected override bool BeforeDraw(in OverlayDrawArgs args)
Parameters
Type |
Name |
Description |
Robust.Client.Graphics.OverlayDrawArgs |
args |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Robust.Client.Graphics.Overlay.BeforeDraw(Robust.Client.Graphics.OverlayDrawArgs)
|
Improve this Doc
View Source
Draw(OverlayDrawArgs)
Declaration
protected override void Draw(in OverlayDrawArgs args)
Parameters
Type |
Name |
Description |
Robust.Client.Graphics.OverlayDrawArgs |
args |
|
Overrides
Robust.Client.Graphics.Overlay.Draw(Robust.Client.Graphics.OverlayDrawArgs)