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 25, 2018
·
43 revisions
← Index
public abstract sealed class ColorExtensions: objectNamespace: VRageMath
Assembly: VRage.Math.dll
Inheritance: object
| Member | Description |
|---|---|
| ColorToHSV(Color) | |
| ColorToHSVDX11(Color) | Use this for HSV in DX11 Renderer, X = Hue 0..1, Y = Saturation -1..1, Z = Value -1..1 |
| HexToColor(string) | |
| HexToVector4(string) | |
| HSVtoColor(Vector3) | |
| PackHSVToUint(Vector3) | |
| UnpackHSVFromUint(uint) | |
| HueDistance(Color, float) | |
| HueDistance(Color, Color) | |
| TemperatureToRGB(float) | |
| UnmultiplyColor(Vector4) | |
| PremultiplyColor(Vector4) | |
| ToSRGB(Vector4) | |
| ToLinearRGB(Vector4) | |
| ToLinearRGB(Vector3) | |
| ToSRGB(Vector3) | |
| ToHsv(Vector3) | |
| ToGray(Vector3) | |
| ToGray(Vector4) | |
| ToLinearRGBComponent(float) | |
| ToSRGBComponent(float) | |
| Shade(Color, float) | |
| Tint(Color, float) | |
| 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!