Merge pull request #2680 from Brickcaster/onceagain
Added a few notes to classes.xml
This commit is contained in:
commit
b2f9acb8c9
1 changed files with 7 additions and 5 deletions
|
@ -7298,7 +7298,7 @@
|
||||||
Color in RGBA format.
|
Color in RGBA format.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point, ranging from 0 to 1.
|
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate() ) may accept values > 1.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="blend">
|
<method name="blend">
|
||||||
|
@ -16566,11 +16566,11 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="x" type="float">
|
<member name="x" type="Vector2">
|
||||||
</member>
|
</member>
|
||||||
<member name="y" type="float">
|
<member name="y" type="Vector2">
|
||||||
</member>
|
</member>
|
||||||
<member name="o" type="float">
|
<member name="o" type="Vector2">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
@ -29267,8 +29267,10 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="ScrollContainer" inherits="Container" category="Core">
|
<class name="ScrollContainer" inherits="Container" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
|
A helper node for displaying scollable elements (e.g. lists).
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
|
A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_enable_h_scroll">
|
<method name="set_enable_h_scroll">
|
||||||
|
@ -31730,7 +31732,7 @@
|
||||||
<argument index="0" name="modulate" type="Color">
|
<argument index="0" name="modulate" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set color modulation for the sprite. All sprite pixels are multiplied by this color.
|
Set color modulation for the sprite. All sprite pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_modulate" qualifiers="const">
|
<method name="get_modulate" qualifiers="const">
|
||||||
|
|
Loading…
Reference in a new issue