Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
HSVColor.cs
Go to the documentation of this file.
1public struct HSVColor
2{
3 public float h;
4
5 public float s;
6
7 public float v;
8
9 public float a;
10
11 public HSVColor(float h, float s, float v, float a = 1f)
12 {
13 this.h = h;
14 this.s = s;
15 this.v = v;
16 this.a = a;
17 }
18
19 public new string ToString()
20 {
21 return $"HSVA = ({h}, {s}, {v}, {a})";
22 }
23}
HSVColor(float h, float s, float v, float a=1f)
Definition: HSVColor.cs:11
float a
Definition: HSVColor.cs:9
float h
Definition: HSVColor.cs:3
float s
Definition: HSVColor.cs:5
float v
Definition: HSVColor.cs:7
new string ToString()
Definition: HSVColor.cs:19