Click or drag to resize

ColorValue Structure

Represents a color in the form of RGBA.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public struct ColorValue

The ColorValue type exposes the following members.

Constructors
  NameDescription
Public methodColorValue(Color)
Initializes a new instance of the ColorValue class
Public methodColorValue(ColorByte)
Initializes a new instance of the ColorValue class
Public methodColorValue(ColorValue)
Initializes a new instance of the ColorValue class
Public methodColorValue(Vector3)
Initializes a new instance of the ColorValue class
Public methodColorValue(Vector3F)
Initializes a new instance of the ColorValue class
Public methodColorValue(Vector4)
Initializes a new instance of the ColorValue class
Public methodColorValue(Vector4F)
Initializes a new instance of the ColorValue class
Public methodColorValue(Double, Double, Double, Double)
Initializes a new instance of the ColorValue class
Public methodColorValue(Single, Single, Single, Single)
Initializes a new instance of the ColorValue class
Top
Properties
  NameDescription
Public propertyItem
Top
Methods
  NameDescription
Public methodStatic memberAdd
Public methodClamp
Public methodStatic memberDivide(Single, ColorValue, ColorValue)
Public methodStatic memberDivide(ColorValue, ColorValue, ColorValue)
Public methodStatic memberDivide(ColorValue, Single, ColorValue)
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodEquals(ColorValue)
Public methodEquals(ColorValue, Single)
Public methodStatic memberEquals(ColorValue, ColorValue)
Public methodEquals(ColorValue, Single)
Public methodGetClamp
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetSaturate
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLerp(ColorValue, ColorValue, Single)
Public methodStatic memberLerp(ColorValue, ColorValue, Single, ColorValue)
Public methodStatic memberMultiply(Single, ColorValue, ColorValue)
Public methodStatic memberMultiply(ColorValue, ColorValue, ColorValue)
Public methodStatic memberMultiply(ColorValue, Single, ColorValue)
Public methodStatic memberNegate
Public methodStatic memberParse
Public methodSaturate
Public methodStatic memberSelect
Public methodStatic memberSubtract
Public methodToColor
Public methodToColorPacked
Public methodToColorValuePowered
Public methodToString (Overrides ValueTypeToString.)
Public methodToString(Int32)
Public methodToVector3
Public methodToVector3F
Public methodToVector3H
Public methodToVector4
Public methodToVector4F
Top
Operators
Fields
  NameDescription
Public fieldAlpha
Public fieldBlue
Public fieldGreen
Public fieldStatic memberOne
Public fieldRed
Public fieldStatic memberZero
Top
Extension Methods
See Also