Struct ColorHDR
Implements
System.IEquatable<ColorHDR>
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 ColorHDR : IEquatable<ColorHDR>
Constructors
View SourceColorHDR(Single, Single, Single, Single)
public ColorHDR(float r, float g, float b, float a)
ColorHDR((Single r, Single g, Single b, Single a))
public ColorHDR((float r, float g, float b, float a) tuple)
Fields
View SourceA
[DataMember]
public readonly float A
B
[DataMember]
public readonly float B
G
[DataMember]
public readonly float G
MaxValue
public static ColorHDR MaxValue
MinValue
public static ColorHDR MinValue
R
[DataMember]
public readonly float R
Zero
public static ColorHDR Zero
Methods
View SourceAlmostEquals(ColorHDR, Single)
public readonly bool AlmostEquals(ColorHDR x, float tolerance = 1E-07F)
Create(Single, Single, Single, Single)
public static ColorHDR Create(float r, float g, float b, float a)
Create((Single r, Single g, Single b, Single a))
public static ColorHDR Create((float r, float g, float b, float a) tuple)
Deconstruct(out Single, out Single, out Single, out Single)
public readonly void Deconstruct(out float r, out float g, out float b, out float a)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(ColorHDR)
public readonly bool Equals(ColorHDR x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetA(Single)
public readonly ColorHDR SetA(float x)
SetB(Single)
public readonly ColorHDR SetB(float x)
SetG(Single)
public readonly ColorHDR SetG(float x)
SetR(Single)
public readonly ColorHDR SetR(float x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(ColorHDR, ColorHDR)
public static bool operator ==(ColorHDR x0, ColorHDR x1)
Implicit((Single r, Single g, Single b, Single a) to ColorHDR)
public static implicit operator ColorHDR((float r, float g, float b, float a) tuple)
Implicit(ColorHDR to (Single r, Single g, Single b, Single a))
public static implicit operator (float r, float g, float b, float a)(ColorHDR self)
Inequality(ColorHDR, ColorHDR)
public static bool operator !=(ColorHDR x0, ColorHDR x1)
Implements
System.IEquatable<T>