Class MarkerColor
- Namespace
- RustPlusApi.Data
- Assembly
- RustPlusApi.dll
Color carried by a map marker, mapped from the server's Vector4 (RGBA components, 0–1).
public sealed record MarkerColor : IEquatable<MarkerColor>
- Inheritance
-
MarkerColor
- Implements
- Inherited Members
Properties
A
Alpha component (0–1), or null when the server omitted it.
public float? A { get; init; }
Property Value
B
Blue component (0–1), or null when the server omitted it.
public float? B { get; init; }
Property Value
G
Green component (0–1), or null when the server omitted it.
public float? G { get; init; }
Property Value
R
Red component (0–1), or null when the server omitted it.
public float? R { get; init; }