mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace the term "color space" with "color encoding". Add additional detail to Color class description. State clearly that Color is expected to use the nonlinear sRGB transfer function.
This commit is contained in:
committed by
Allen Pestaluky
parent
fcd1cf8d57
commit
46e40969a2
@@ -74,7 +74,7 @@
|
||||
If [code]true[/code], shows an alpha channel slider (opacity).
|
||||
</member>
|
||||
<member name="edit_intensity" type="bool" setter="set_edit_intensity" getter="is_editing_intensity" default="true">
|
||||
If [code]true[/code], shows an intensity slider. The intensity is applied as follows: multiply the color by [code]2 ** intensity[/code] in linear RGB space, and then convert it back to sRGB.
|
||||
If [code]true[/code], shows an intensity slider. The intensity is applied as follows: convert the color to linear encoding, multiply it by [code]2 ** intensity[/code], and then convert it back to nonlinear sRGB encoding.
|
||||
</member>
|
||||
<member name="hex_visible" type="bool" setter="set_hex_visible" getter="is_hex_visible" default="true">
|
||||
If [code]true[/code], the hex color code input field is visible.
|
||||
|
||||
Reference in New Issue
Block a user