Struct MarkerColor
Namespace: OblivionMp.Sdk.Values
Assembly: OblivionMp.Sdk.dll
RGBA marker color, each channel 0..1.
public readonly struct MarkerColor
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
MarkerColor(float, float, float, float)
RGBA marker color, each channel 0..1.
public MarkerColor(float r, float g, float b, float a = 1)
Parameters
r float
g float
b float
a float
Properties
A
The opacity, from 0 to 1.
public float A { get; }
Property Value
B
The blue channel, from 0 to 1.
public float B { get; }
Property Value
G
The green channel, from 0 to 1.
public float G { get; }
Property Value
R
The red channel, from 0 to 1.
public float R { get; }
Property Value
White
Opaque white.
public static MarkerColor White { get; }