Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.ColorExtensions

Malware edited this page Dec 21, 2018 · 43 revisions

Index

ColorExtensions Class

Namespace: VRageMath
Assembly: VRage.Math.dll

Methods

Member Description
static ColorToHSV(Color)
static ColorToHSVDX11(Color) Use this for HSV in DX11 Renderer, X = Hue 0..1, Y = Saturation -1..1, Z = Value -1..1
static HexToColor(string)
static HexToVector4(string)
static HSVtoColor(Vector3)
static PackHSVToUint(Vector3)
static UnpackHSVFromUint(uint)
static HueDistance(Color, float)
static HueDistance(Color, Color)
static TemperatureToRGB(float)
static UnmultiplyColor(Vector4)
static PremultiplyColor(Vector4)
static ToSRGB(Vector4)
static ToLinearRGB(Vector4)
static ToLinearRGB(Vector3)
static ToSRGB(Vector3)
static ToHsv(Vector3)
static ToGray(Vector3)
static ToGray(Vector4)
static ToLinearRGBComponent(float)
static ToSRGBComponent(float)
static Shade(Color, float)
static Tint(Color, float)
static Alpha(Color, float)

Clone this wiki locally