|
override void | Update () |
|
| MyHudMarkerRender (MyGuiScreenHudBase hudScreen) |
|
override void | DrawLocationMarkers (MyHudLocationMarkers locationMarkers) |
|
void | AddPOI (Vector3D worldPosition, StringBuilder name, MyRelationsBetweenPlayerAndBlock relationship) |
| Adds a generic POI, styled like a GPS coordinate. Currently only used to draw a center-of-the-world marker. More...
|
|
void | AddEntity (MyEntity entity, MyRelationsBetweenPlayerAndBlock relationship, StringBuilder entityName) |
|
void | AddGPS (Vector3D worldPosition, string name, bool alwaysVisible, Color color) |
|
void | AddButtonMarker (Vector3D worldPosition, string name) |
|
void | AddOre (Vector3D worldPosition, string name) |
|
void | AddTarget (Vector3D worldPosition) |
|
void | AddHacking (Vector3D worldPosition, StringBuilder name) |
|
override void | Draw () |
|
Public Member Functions inherited from Sandbox.Game.GUI.HudViewers.MyHudMarkerRenderBase |
| MyHudMarkerRenderBase (MyGuiScreenHudBase hudScreen) |
|
int | AllocateMarkerStyle (string font, MyHudTexturesEnum directionIcon, MyHudTexturesEnum targetIcon, Color color) |
|
void | OverrideStyleForRelation (VRage.Game.MyRelationsBetweenPlayerAndBlock relation, string font, MyHudTexturesEnum directionIcon, MyHudTexturesEnum targetIcon, Color color) |
|
int | GetStyleForRelation (VRage.Game.MyRelationsBetweenPlayerAndBlock relation) |
|
void | DrawLocationMarker (int styleHandle, Vector3D position, MyHudEntityParams hudParams, float targetDamageRatio, float targetArmorRatio, float alphaMultiplifier=1f) |
| Draws location marker on screen. More...
|
|
|
static void | AppendDistance (StringBuilder stringBuilder, double distance) |
| Appends the distance in meters, kilometers, light seconds or light years to the string builder. Rounded to 2 decimals, i.e. 12.34 meters. More...
|
|
static float | Normalize (float value) |
|
static float | Denormalize (float value) |
|
|
Protected Member Functions inherited from Sandbox.Game.GUI.HudViewers.MyHudMarkerRenderBase |
void | AddTexturedQuad (MyHudTexturesEnum texture, Vector2 position, Vector2 upVector, Color color, float halfWidth, float halfHeight) |
| Add textured quad with specified UP direction and width/height. More...
|
|
void | AddTexturedQuad (string texture, Vector2 position, Vector2 upVector, Color color, float halfWidth, float halfHeight) |
| Add textured quad with specified UP direction and width/height. More...
|
|
Protected Attributes inherited from Sandbox.Game.GUI.HudViewers.MyHudMarkerRenderBase |
const double | LS_METRES = 299792458.0001367 |
|
const double | LY_METRES = 9.460730473e+15 |
|
MyGuiScreenHudBase | m_hudScreen |
|
List< MyMarkerStyle > | m_markerStyles |
|
int[] | m_markerStylesForBlocks |
|
List< MyHudEntityParams > | m_sortedMarkers = new List<MyHudEntityParams>(128) |
|
DistanceComparer | m_distanceComparer = new DistanceComparer() |
|
Definition at line 25 of file MyHudMarkerRender.cs.
Enumerator |
---|
DefaultMode |
|
FullDisplay |
|
NoNames |
|
Off |
|
MaxSignalModes |
|
Definition at line 34 of file MyHudMarkerRender.cs.
Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.MyHudMarkerRender |
( |
MyGuiScreenHudBase |
hudScreen | ) |
|
|
inline |
void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AddButtonMarker |
( |
Vector3D |
worldPosition, |
|
|
string |
name |
|
) |
| |
|
inline |
void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AddGPS |
( |
Vector3D |
worldPosition, |
|
|
string |
name, |
|
|
bool |
alwaysVisible, |
|
|
Color |
color |
|
) |
| |
|
inline |
void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AddHacking |
( |
Vector3D |
worldPosition, |
|
|
StringBuilder |
name |
|
) |
| |
|
inline |
void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AddOre |
( |
Vector3D |
worldPosition, |
|
|
string |
name |
|
) |
| |
|
inline |
Adds a generic POI, styled like a GPS coordinate. Currently only used to draw a center-of-the-world marker.
Definition at line 1287 of file MyHudMarkerRender.cs.
void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AddTarget |
( |
Vector3D |
worldPosition | ) |
|
|
inline |
static void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.AppendDistance |
( |
StringBuilder |
stringBuilder, |
|
|
double |
distance |
|
) |
| |
|
inlinestatic |
Appends the distance in meters, kilometers, light seconds or light years to the string builder. Rounded to 2 decimals, i.e. 12.34 meters.
- Parameters
-
stringBuilder | The string builder to be appended to. |
distance | The distance in meters to be appended. |
Definition at line 1410 of file MyHudMarkerRender.cs.
static float Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.Denormalize |
( |
float |
value | ) |
|
|
inlinestatic |
override void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.Draw |
( |
| ) |
|
|
inlinevirtual |
override void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.DrawLocationMarkers |
( |
MyHudLocationMarkers |
locationMarkers | ) |
|
|
inlinevirtual |
static float Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.Normalize |
( |
float |
value | ) |
|
|
inlinestatic |
override void Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.Update |
( |
| ) |
|
|
inlinevirtual |
float Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.EnemyAntennaRange |
|
staticgetset |
float Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.FriendAntennaRange |
|
staticgetset |
float Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.OwnerAntennaRange |
|
staticgetset |
SignalMode Sandbox.Game.GUI.HudViewers.MyHudMarkerRender.SignalDisplayMode |
|
staticget |
The documentation for this class was generated from the following file: