Struct ColorRGBA
Implements
System.IEquatable<ColorRGBA>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct ColorRGBA : IEquatable<ColorRGBA>
Constructors
View SourceColorRGBA(Byte, Byte, Byte, Byte)
public ColorRGBA(byte r, byte g, byte b, byte a)
ColorRGBA((Byte r, Byte g, Byte b, Byte a))
public ColorRGBA((byte r, byte g, byte b, byte a) tuple)
Fields
View SourceA
[DataMember]
public readonly byte A
B
[DataMember]
public readonly byte B
Black
public static readonly ColorRGBA Black
DarkBlue
public static readonly ColorRGBA DarkBlue
DarkGreen
public static readonly ColorRGBA DarkGreen
DarkRed
public static readonly ColorRGBA DarkRed
G
[DataMember]
public readonly byte G
LightBlue
public static readonly ColorRGBA LightBlue
LightGreen
public static readonly ColorRGBA LightGreen
LightRed
public static readonly ColorRGBA LightRed
MaxValue
public static ColorRGBA MaxValue
MinValue
public static ColorRGBA MinValue
R
[DataMember]
public readonly byte R
Transparent
public static readonly ColorRGBA Transparent
White
public static readonly ColorRGBA White
Zero
public static ColorRGBA Zero
Methods
View SourceCreate(Byte, Byte, Byte, Byte)
public static ColorRGBA Create(byte r, byte g, byte b, byte a)
Create((Byte r, Byte g, Byte b, Byte a))
public static ColorRGBA Create((byte r, byte g, byte b, byte a) tuple)
Deconstruct(out Byte, out Byte, out Byte, out Byte)
public readonly void Deconstruct(out byte r, out byte g, out byte b, out byte a)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(ColorRGBA)
public readonly bool Equals(ColorRGBA x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetA(Byte)
public readonly ColorRGBA SetA(byte x)
SetB(Byte)
public readonly ColorRGBA SetB(byte x)
SetG(Byte)
public readonly ColorRGBA SetG(byte x)
SetR(Byte)
public readonly ColorRGBA SetR(byte x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(ColorRGBA, ColorRGBA)
public static bool operator ==(ColorRGBA x0, ColorRGBA x1)
Implicit((Byte r, Byte g, Byte b, Byte a) to ColorRGBA)
public static implicit operator ColorRGBA((byte r, byte g, byte b, byte a) tuple)
Implicit(ColorRGBA to (Byte r, Byte g, Byte b, Byte a))
public static implicit operator (byte r, byte g, byte b, byte a)(ColorRGBA self)
Inequality(ColorRGBA, ColorRGBA)
public static bool operator !=(ColorRGBA x0, ColorRGBA x1)
Implements
System.IEquatable<T>