This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.ColorExtensions
Malware edited this page Dec 21, 2018
·
43 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
| 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)
|
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!