• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Vim.Math3d
    • AABox
    • AABox2D
    • AABox4D
    • AngularMotion
    • AxisAngle
    • Byte2
    • Byte3
    • Byte4
    • ColorHDR
    • ColorRGB
    • ColorRGBA
    • Complex
    • Constants
    • ContainmentType
    • CylindricalCoordinate
    • DAABox
    • DAABox2D
    • DAABox4D
    • DInterval
    • DPlane
    • DQuaternion
    • DRay
    • DSphere
    • DVector2
    • DVector3
    • DVector4
    • Euler
    • GeoCoordinate
    • Hash
    • HorizontalCoordinate
    • IMappable<TContainer, TPart>
    • Int2
    • Int3
    • Int4
    • Interval
    • IPoints
    • IPoints2D
    • ITransformable3D<TSelf>
    • Line
    • Line2D
    • LinearMotion
    • LinqUtil
    • LogPolarCoordinate
    • MathOps
    • Matrix4x4
    • Motion
    • MovementExtensions
    • Plane
    • PlaneIntersectionType
    • PolarCoordinate
    • Quad
    • Quad2D
    • Quaternion
    • Ray
    • Sphere
    • SphericalCoordinate
    • StatelessRandom
    • Stats<T>
    • Transform
    • Transformable3D
    • Triangle
    • Triangle2D
    • Vector2
    • Vector3
    • Vector4

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 Source

ColorHDR(Single, Single, Single, Single)

public ColorHDR(float r, float g, float b, float a)
View Source

ColorHDR((Single r, Single g, Single b, Single a))

public ColorHDR((float r, float g, float b, float a) tuple)

Fields

View Source

A

[DataMember]
public readonly float A
View Source

B

[DataMember]
public readonly float B
View Source

G

[DataMember]
public readonly float G
View Source

MaxValue

public static ColorHDR MaxValue
View Source

MinValue

public static ColorHDR MinValue
View Source

R

[DataMember]
public readonly float R
View Source

Zero

public static ColorHDR Zero

Methods

View Source

AlmostEquals(ColorHDR, Single)

public readonly bool AlmostEquals(ColorHDR x, float tolerance = 1E-07F)
View Source

Create(Single, Single, Single, Single)

public static ColorHDR Create(float r, float g, float b, float a)
View Source

Create((Single r, Single g, Single b, Single a))

public static ColorHDR Create((float r, float g, float b, float a) tuple)
View Source

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)
View Source

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)
View Source

GetHashCode()

public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source

SetA(Single)

public readonly ColorHDR SetA(float x)
View Source

SetB(Single)

public readonly ColorHDR SetB(float x)
View Source

SetG(Single)

public readonly ColorHDR SetG(float x)
View Source

SetR(Single)

public readonly ColorHDR SetR(float x)
View Source

ToString()

public override readonly string ToString()
Overrides
System.ValueType.ToString()

Operators

View Source

Equality(ColorHDR, ColorHDR)

public static bool operator ==(ColorHDR x0, ColorHDR x1)
View Source

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)
View Source

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)
View Source

Inequality(ColorHDR, ColorHDR)

public static bool operator !=(ColorHDR x0, ColorHDR x1)

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX