|
@@ -129,9 +129,9 @@
|
|
<argument index="3" name="a" type="float" default="1">
|
|
<argument index="3" name="a" type="float" default="1">
|
|
</argument>
|
|
</argument>
|
|
<description>
|
|
<description>
|
|
- Constructs a color from an HSV profile. [code]h[/code] is a value between 0 and 360. [code]s[/code] and [code]v[/code] are values between 0 and 1.
|
|
|
|
|
|
+ Constructs a color from an HSV profile. [code]h[/code], [code]s[/code], and [code]v[/code] are values between 0 and 1.
|
|
[codeblock]
|
|
[codeblock]
|
|
- var c = Color.from_hsv(210, 0.5, 0.79, 0.8) # equivalent to HSV(210, 50, 79, 0.8) or Color8(100, 151, 201, 0.8)
|
|
|
|
|
|
+ var c = Color.from_hsv(0.58, 0.5, 0.79, 0.8) # equivalent to HSV(210, 50, 79, 0.8) or Color8(100, 151, 201, 0.8)
|
|
[/codeblock]
|
|
[/codeblock]
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|