This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.ColorExtensions
Malware edited this page Dec 24, 2018
·
42 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
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!