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
Morten Aune Lyrstad edited this page Apr 16, 2022
·
42 revisions
← Index ← Namespace Index
public abstract sealed class ColorExtensions
Namespace: VRageMath
Assembly: VRage.Math.dll
Member | Description |
---|---|
\$1static Color Alpha(this Color, float)](VRageMath.ColorExtensions.Alpha) | |
\$1static Vector3 ColorToHSV(this Color)](VRageMath.ColorExtensions.ColorToHSV) | |
\$1static Vector3 ColorToHSVDX11(this Color)](VRageMath.ColorExtensions.ColorToHSVDX11) | Use this for HSV in DX11 Renderer, X = Hue 0..1, Y = Saturation -1..1, Z = Value -1..1 |
\$1static Color? FromHtml(string)](VRageMath.ColorExtensions.FromHtml) | |
\$1static Color HexToColor(string)](VRageMath.ColorExtensions.HexToColor) | |
\$1static Vector4 HexToVector4(string)](VRageMath.ColorExtensions.HexToVector4) | |
\$1static Color HSVtoColor(this Vector3)](VRageMath.ColorExtensions.HSVtoColor) | |
\$1static float HueDistance(this Color, float)](VRageMath.ColorExtensions.HueDistance) | |
\$1static float HueDistance(this Color, Color)](VRageMath.ColorExtensions.HueDistance) | |
\$1static uint PackHSVToUint(this Vector3)](VRageMath.ColorExtensions.PackHSVToUint) | |
\$1static Vector4 PremultiplyColor(this Vector4)](VRageMath.ColorExtensions.PremultiplyColor) | |
\$1static Color Shade(this Color, float)](VRageMath.ColorExtensions.Shade) | |
\$1static Vector3 TemperatureToRGB(float)](VRageMath.ColorExtensions.TemperatureToRGB) | |
\$1static Color Tint(this Color, float)](VRageMath.ColorExtensions.Tint) | |
\$1static Vector3 ToGray(this Vector3)](VRageMath.ColorExtensions.ToGray) | |
\$1static Vector4 ToGray(this Vector4)](VRageMath.ColorExtensions.ToGray) | |
\$1static Vector4 ToLinearRGB(this Vector4)](VRageMath.ColorExtensions.ToLinearRGB) | |
\$1static Vector3 ToLinearRGB(this Vector3)](VRageMath.ColorExtensions.ToLinearRGB) | |
\$1static float ToLinearRGBComponent(float)](VRageMath.ColorExtensions.ToLinearRGBComponent) | |
\$1static Vector4 ToSRGB(this Vector4)](VRageMath.ColorExtensions.ToSRGB) | |
\$1static Vector3 ToSRGB(this Vector3)](VRageMath.ColorExtensions.ToSRGB) | |
\$1static float ToSRGBComponent(float)](VRageMath.ColorExtensions.ToSRGBComponent) | |
\$1static Vector4 UnmultiplyColor(this Vector4)](VRageMath.ColorExtensions.UnmultiplyColor) | |
\$1static Vector3 UnpackHSVFromUint(uint)](VRageMath.ColorExtensions.UnpackHSVFromUint) |
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!