Class MapGridControl
Handles generic grid-drawing data, with zoom and dragging.
Inheritance
System.Object
Robust.Client.UserInterface.Control
MapGridControl
Assembly: Content.Client.dll
Syntax
public abstract class MapGridControl : Control
Constructors
|
Improve this Doc
View Source
MapGridControl(Single, Single, Single)
Declaration
public MapGridControl(float minRange, float maxRange, float range)
Parameters
Type |
Name |
Description |
System.Single |
minRange |
|
System.Single |
maxRange |
|
System.Single |
range |
|
Fields
|
Improve this Doc
View Source
ActualRadarRange
We'll lerp between the radarrange and actual range
Declaration
protected float ActualRadarRange
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MinimapMargin
Declaration
protected const int MinimapMargin = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ScrollSensitivity
Declaration
protected const float ScrollSensitivity = null
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Timing
Declaration
protected readonly IGameTiming Timing
Field Value
Type |
Description |
Robust.Shared.Timing.IGameTiming |
|
|
Improve this Doc
View Source
UIDisplayRadius
Declaration
public const int UIDisplayRadius = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WorldMaxRange
Declaration
protected float WorldMaxRange
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
WorldMinRange
Declaration
protected float WorldMinRange
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
WorldRange
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
|
Improve this Doc
View Source
MaxRadarRange
Controls the maximum distance that will display.
Declaration
public float MaxRadarRange { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MaxRadarRangeVector
Declaration
public Vector2 MaxRadarRangeVector { get; }
Property Value
|
Improve this Doc
View Source
MidPoint
Declaration
protected int MidPoint { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MidpointVector
Declaration
protected Vector2 MidpointVector { get; }
Property Value
|
Improve this Doc
View Source
MinimapScale
Declaration
protected float MinimapScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
ScaledMinimapRadius
Declaration
protected int ScaledMinimapRadius { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
SizeFull
Declaration
protected int SizeFull { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
AddRadarRange(Single)
Declaration
public void AddRadarRange(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
|
Improve this Doc
View Source
Draw(DrawingHandleScreen)
Declaration
protected override void Draw(DrawingHandleScreen handle)
Parameters
Type |
Name |
Description |
Robust.Client.Graphics.DrawingHandleScreen |
handle |
|
Overrides
Robust.Client.UserInterface.Control.Draw(Robust.Client.Graphics.DrawingHandleScreen)
|
Improve this Doc
View Source
MouseWheel(GUIMouseWheelEventArgs)
Declaration
protected override void MouseWheel(GUIMouseWheelEventArgs args)
Parameters
Type |
Name |
Description |
GUIMouseWheelEventArgs |
args |
|
Overrides
Robust.Client.UserInterface.Control.MouseWheel(GUIMouseWheelEventArgs)
Events
|
Improve this Doc
View Source
WorldRangeChanged
Declaration
public event Action<float>? WorldRangeChanged
Event Type
Type |
Description |
System.Nullable<Action<System.Single>> |
|
Extension Methods