classref: Run doctool and merge BitmapFont
BitmapFont was split from the Font class, so the relevant method descriptions were readded manually.
This commit is contained in:
parent
6aae63fce2
commit
18c09acf9f
|
@ -5540,16 +5540,16 @@
|
||||||
</signals>
|
</signals>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="DRAW_NORMAL" value="0">
|
<constant name="DRAW_NORMAL" value="0">
|
||||||
The normal state(Are not pressed, not hovered, not toggled and enabled) of buttons.
|
The normal state (i.e. not pressed, not hovered, not toggled and enabled) of buttons.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAW_PRESSED" value="1">
|
<constant name="DRAW_PRESSED" value="1">
|
||||||
The state of buttons are pressed.
|
The state of buttons are pressed.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAW_HOVER" value="2">
|
<constant name="DRAW_HOVER" value="2">
|
||||||
The state of buttons are hovered.
|
The state of buttons are hovered.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAW_DISABLED" value="3">
|
<constant name="DRAW_DISABLED" value="3">
|
||||||
The state of buttons are disabled.
|
The state of buttons are disabled.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -5611,6 +5611,130 @@
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
<class name="BitmapFont" inherits="Font" category="Core">
|
||||||
|
<brief_description>
|
||||||
|
</brief_description>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
<methods>
|
||||||
|
<method name="create_from_fnt">
|
||||||
|
<return type="int">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="path" type="String">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="set_height">
|
||||||
|
<argument index="0" name="px" type="float">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Set the total font height (ascent plus descent) in pixels.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="set_ascent">
|
||||||
|
<argument index="0" name="px" type="float">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Set the font ascent (number of pixels above the baseline).
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="add_kerning_pair">
|
||||||
|
<argument index="0" name="char_a" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="char_b" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="2" name="kerning" type="int">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Add a kerning pair to the [BitmapFont] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_kerning_pair" qualifiers="const">
|
||||||
|
<return type="int">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="char_a" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="char_b" type="int">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Return a kerning pair as a difference.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="add_texture">
|
||||||
|
<argument index="0" name="texture" type="Texture">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Add a texture to the [BitmapFont].
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="add_char">
|
||||||
|
<argument index="0" name="character" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="texture" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="2" name="rect" type="Rect2">
|
||||||
|
</argument>
|
||||||
|
<argument index="3" name="align" type="Vector2" default="Vector2(0,0)">
|
||||||
|
</argument>
|
||||||
|
<argument index="4" name="advance" type="float" default="-1">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Add a character to the font, where [i]character[/i] is the unicode value, [i]texture[/i] is the texture index, [i]rect[/i] is the region in the texture (in pixels!), [i]align[/i] is the (optional) alignment for the character and [i]advance[/i] is the (optional) advance.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_texture_count" qualifiers="const">
|
||||||
|
<return type="int">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_texture" qualifiers="const">
|
||||||
|
<return type="Texture">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="idx" type="int">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_char_size" qualifiers="const">
|
||||||
|
<return type="Vector2">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="char" type="int">
|
||||||
|
</argument>
|
||||||
|
<argument index="1" name="next" type="int" default="0">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Return the size of a character, optionally taking kerning into account if the next character is provided.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="set_distance_field_hint">
|
||||||
|
<argument index="0" name="enable" type="bool">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="clear">
|
||||||
|
<description>
|
||||||
|
Clear all the font data.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="set_fallback">
|
||||||
|
<argument index="0" name="fallback" type="Object">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
<method name="get_fallback" qualifiers="const">
|
||||||
|
<return type="Object">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
|
</methods>
|
||||||
|
<constants>
|
||||||
|
</constants>
|
||||||
|
</class>
|
||||||
<class name="BoneAttachment" inherits="Spatial" category="Core">
|
<class name="BoneAttachment" inherits="Spatial" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
@ -5654,13 +5778,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="ALIGN_BEGIN" value="0">
|
<constant name="ALIGN_BEGIN" value="0">
|
||||||
Align children with beginning of the container.
|
Align children with beginning of the container.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ALIGN_CENTER" value="1">
|
<constant name="ALIGN_CENTER" value="1">
|
||||||
Align children with center of the container.
|
Align children with center of the container.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ALIGN_END" value="2">
|
<constant name="ALIGN_END" value="2">
|
||||||
Align children with end of the container.
|
Align children with end of the container.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -7037,24 +7161,24 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="CanvasModulate" inherits="Node2D" category="Core">
|
<class name="CanvasModulate" inherits="Node2D" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Tint the entire canvas
|
Tint the entire canvas
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
CanvasModulate tints the canvas elements using its asigned color
|
CanvasModulate tints the canvas elements using its asigned color
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_color">
|
<method name="set_color">
|
||||||
<argument index="0" name="color" type="Color">
|
<argument index="0" name="color" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the canvas tint color
|
Sets the canvas tint color
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_color" qualifiers="const">
|
<method name="get_color" qualifiers="const">
|
||||||
<return type="Color">
|
<return type="Color">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Gets the canvas tint color
|
Gets the canvas tint color
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -7153,14 +7277,14 @@
|
||||||
<argument index="0" name="enable" type="bool">
|
<argument index="0" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container).
|
This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_using_top_left" qualifiers="const">
|
<method name="is_using_top_left" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Should put children to the top left corner instead of center of the container.
|
Should put children to the top left corner instead of center of the container.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -7169,10 +7293,10 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="CheckBox" inherits="Button" category="Core">
|
<class name="CheckBox" inherits="Button" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Binary choice user interface widget
|
Binary choice user interface widget
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A checkbox allows the user to make a binary choice (choosing only one of two posible options), for example Answer 'yes' or 'no'.
|
A checkbox allows the user to make a binary choice (choosing only one of two posible options), for example Answer 'yes' or 'no'.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -8029,35 +8153,35 @@
|
||||||
<argument index="0" name="mode" type="bool">
|
<argument index="0" name="mode" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
When set to true, every color channel will be represented as a value from 0 to 1, insetead of 0, 255.
|
When set to true, every color channel will be represented as a value from 0 to 1, insetead of 0, 255.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_raw_mode" qualifiers="const">
|
<method name="is_raw_mode" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns whether this color picker is in raw mode or not
|
Returns whether this color picker is in raw mode or not
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_edit_alpha">
|
<method name="set_edit_alpha">
|
||||||
<argument index="0" name="show" type="bool">
|
<argument index="0" name="show" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color.
|
Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_editing_alpha" qualifiers="const">
|
<method name="is_editing_alpha" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns whether the color has transparency or not.
|
Returns whether the color has transparency or not.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_preset">
|
<method name="add_preset">
|
||||||
<argument index="0" name="arg0" type="Color">
|
<argument index="0" name="arg0" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker.
|
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -8091,38 +8215,38 @@
|
||||||
</class>
|
</class>
|
||||||
<class name="ColorPickerButton" inherits="Button" category="Core">
|
<class name="ColorPickerButton" inherits="Button" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Button that pops out a [ColorPicker]
|
Button that pops out a [ColorPicker]
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
Encapsulates a [ColorPicker] making it accesible by pressing a button, pressing the button will toggle the [ColorPicker] visibility
|
Encapsulates a [ColorPicker] making it accesible by pressing a button, pressing the button will toggle the [ColorPicker] visibility
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_color">
|
<method name="set_color">
|
||||||
<argument index="0" name="color" type="Color">
|
<argument index="0" name="color" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the current color
|
Sets the current color
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_color" qualifiers="const">
|
<method name="get_color" qualifiers="const">
|
||||||
<return type="Color">
|
<return type="Color">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Gets the current color
|
Gets the current color
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_edit_alpha">
|
<method name="set_edit_alpha">
|
||||||
<argument index="0" name="show" type="bool">
|
<argument index="0" name="show" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
See [method ColorPicker.set_edit_alpha]
|
See [method ColorPicker.set_edit_alpha]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_editing_alpha" qualifiers="const">
|
<method name="is_editing_alpha" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
See [method ColorPicker.is_edit_alpha]
|
See [method ColorPicker.is_edit_alpha]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -8131,7 +8255,7 @@
|
||||||
<argument index="0" name="color" type="Color">
|
<argument index="0" name="color" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Emitted when the color is changed.
|
Emitted when the color is changed.
|
||||||
</description>
|
</description>
|
||||||
</signal>
|
</signal>
|
||||||
</signals>
|
</signals>
|
||||||
|
@ -12151,33 +12275,19 @@ Returns an empty String "" at the end of the list.
|
||||||
Font contains an unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc.
|
Font contains an unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="create_from_fnt">
|
<method name="draw" qualifiers="const">
|
||||||
<return type="int">
|
<argument index="0" name="canvas_item" type="RID">
|
||||||
</return>
|
</argument>
|
||||||
<argument index="0" name="path" type="String">
|
<argument index="1" name="pos" type="Vector2">
|
||||||
|
</argument>
|
||||||
|
<argument index="2" name="string" type="String">
|
||||||
|
</argument>
|
||||||
|
<argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)">
|
||||||
|
</argument>
|
||||||
|
<argument index="4" name="clip_w" type="int" default="-1">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
</description>
|
Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis.
|
||||||
</method>
|
|
||||||
<method name="set_height">
|
|
||||||
<argument index="0" name="px" type="float">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Set the total font height (ascent plus descent) in pixels.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_height" qualifiers="const">
|
|
||||||
<return type="float">
|
|
||||||
</return>
|
|
||||||
<description>
|
|
||||||
Return the total font height (ascent plus descent) in pixels.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="set_ascent">
|
|
||||||
<argument index="0" name="px" type="float">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Set the font ascent (number of pixels above the baseline).
|
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_ascent" qualifiers="const">
|
<method name="get_ascent" qualifiers="const">
|
||||||
|
@ -12194,75 +12304,19 @@ Returns an empty String "" at the end of the list.
|
||||||
Return the font descent (number of pixels below the baseline).
|
Return the font descent (number of pixels below the baseline).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_kerning_pair">
|
<method name="get_height" qualifiers="const">
|
||||||
<argument index="0" name="char_a" type="int">
|
<return type="float">
|
||||||
</argument>
|
|
||||||
<argument index="1" name="char_b" type="int">
|
|
||||||
</argument>
|
|
||||||
<argument index="2" name="kerning" type="int">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Add a kerning pair to the [Font] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_kerning_pair" qualifiers="const">
|
|
||||||
<return type="int">
|
|
||||||
</return>
|
|
||||||
<argument index="0" name="char_a" type="int">
|
|
||||||
</argument>
|
|
||||||
<argument index="1" name="char_b" type="int">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Return a kerning pair as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="add_texture">
|
|
||||||
<argument index="0" name="texture" type="Texture">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Add a texture to the [Font].
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="add_char">
|
|
||||||
<argument index="0" name="character" type="int">
|
|
||||||
</argument>
|
|
||||||
<argument index="1" name="texture" type="int">
|
|
||||||
</argument>
|
|
||||||
<argument index="2" name="rect" type="Rect2">
|
|
||||||
</argument>
|
|
||||||
<argument index="3" name="align" type="Vector2" default="Vector2(0,0)">
|
|
||||||
</argument>
|
|
||||||
<argument index="4" name="advance" type="float" default="-1">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Add a character to the font, where "character" is the unicode value, "texture" is the texture index, "rect" is the region in the texture (in pixels!), "align" is the (optional) alignment for the character and "advance" is the (optional) advance.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_texture_count" qualifiers="const">
|
|
||||||
<return type="int">
|
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
|
Return the total font height (ascent plus descent) in pixels.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_texture" qualifiers="const">
|
<method name="is_distance_field_hint" qualifiers="const">
|
||||||
<return type="Texture">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="idx" type="int">
|
|
||||||
</argument>
|
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_char_size" qualifiers="const">
|
|
||||||
<return type="Vector2">
|
|
||||||
</return>
|
|
||||||
<argument index="0" name="char" type="int">
|
|
||||||
</argument>
|
|
||||||
<argument index="1" name="next" type="int" default="0">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Return the size of a character, optionally taking kerning into account if the next character is provided.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_string_size" qualifiers="const">
|
<method name="get_string_size" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
|
@ -12272,38 +12326,6 @@ Returns an empty String "" at the end of the list.
|
||||||
Return the size of a string, taking kerning and advance into account.
|
Return the size of a string, taking kerning and advance into account.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_distance_field_hint">
|
|
||||||
<argument index="0" name="enable" type="bool">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="is_distance_field_hint" qualifiers="const">
|
|
||||||
<return type="bool">
|
|
||||||
</return>
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="clear">
|
|
||||||
<description>
|
|
||||||
Clear all the font data.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="draw" qualifiers="const">
|
|
||||||
<argument index="0" name="canvas_item" type="RID">
|
|
||||||
</argument>
|
|
||||||
<argument index="1" name="pos" type="Vector2">
|
|
||||||
</argument>
|
|
||||||
<argument index="2" name="string" type="String">
|
|
||||||
</argument>
|
|
||||||
<argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)">
|
|
||||||
</argument>
|
|
||||||
<argument index="4" name="clip_w" type="int" default="-1">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
Draw "string" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis.
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="draw_char" qualifiers="const">
|
<method name="draw_char" qualifiers="const">
|
||||||
<return type="float">
|
<return type="float">
|
||||||
</return>
|
</return>
|
||||||
|
@ -12321,18 +12343,6 @@ Returns an empty String "" at the end of the list.
|
||||||
Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character.
|
Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "pos" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_fallback">
|
|
||||||
<argument index="0" name="fallback" type="Object">
|
|
||||||
</argument>
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
<method name="get_fallback" qualifiers="const">
|
|
||||||
<return type="Object">
|
|
||||||
</return>
|
|
||||||
<description>
|
|
||||||
</description>
|
|
||||||
</method>
|
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
|
@ -12401,7 +12411,7 @@ Returns an empty String "" at the end of the list.
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Should put children to the top left corner instead of center of the container.
|
Should put children to the top left corner instead of center of the container.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -13476,24 +13486,24 @@ Returns an empty String "" at the end of the list.
|
||||||
</class>
|
</class>
|
||||||
<class name="GridContainer" inherits="Container" category="Core">
|
<class name="GridContainer" inherits="Container" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Grid container used to arrange elements in a grid like layout
|
Grid container used to arrange elements in a grid like layout
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
|
Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_columns">
|
<method name="set_columns">
|
||||||
<argument index="0" name="columns" type="int">
|
<argument index="0" name="columns" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the numbers of columns in the container, then reorder its children to accommodate the new layout
|
Sets the numbers of columns in the container, then reorder its children to accommodate the new layout
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_columns" qualifiers="const">
|
<method name="get_columns" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the number of columns in this container
|
Returns the number of columns in this container
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -27260,94 +27270,94 @@ This method controls whether the position between two cached points is interpola
|
||||||
</class>
|
</class>
|
||||||
<class name="Polygon2D" inherits="Node2D" category="Core">
|
<class name="Polygon2D" inherits="Node2D" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
2D polygon representation
|
2D polygon representation
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A Polygon2D is defined by a set of n points connected together by line segments, meaning that the point 1 will be connected with point 2, point 2 with point 3 ..., point n-1 with point n and point n with point 1 in order to close the loop and define a plane.
|
A Polygon2D is defined by a set of n points connected together by line segments, meaning that the point 1 will be connected with point 2, point 2 with point 3 ..., point n-1 with point n and point n with point 1 in order to close the loop and define a plane.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_polygon">
|
<method name="set_polygon">
|
||||||
<argument index="0" name="polygon" type="Vector2Array">
|
<argument index="0" name="polygon" type="Vector2Array">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Defines the set of points that will represent the polygon.
|
Defines the set of points that will represent the polygon.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_polygon" qualifiers="const">
|
<method name="get_polygon" qualifiers="const">
|
||||||
<return type="Vector2Array">
|
<return type="Vector2Array">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the set of points that defines this polygon
|
Returns the set of points that defines this polygon
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_uv">
|
<method name="set_uv">
|
||||||
<argument index="0" name="uv" type="Vector2Array">
|
<argument index="0" name="uv" type="Vector2Array">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the uv value for every point of the polygon
|
Sets the uv value for every point of the polygon
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_uv" qualifiers="const">
|
<method name="get_uv" qualifiers="const">
|
||||||
<return type="Vector2Array">
|
<return type="Vector2Array">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the uv value associated with every point of the polygon
|
Returns the uv value associated with every point of the polygon
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_color">
|
<method name="set_color">
|
||||||
<argument index="0" name="color" type="Color">
|
<argument index="0" name="color" type="Color">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the polygon fill color, if the polygon has a texture defined, the defined texture will be tinted to the polygon fill color.
|
Sets the polygon fill color, if the polygon has a texture defined, the defined texture will be tinted to the polygon fill color.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_color" qualifiers="const">
|
<method name="get_color" qualifiers="const">
|
||||||
<return type="Color">
|
<return type="Color">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the polygon fill color
|
Returns the polygon fill color
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_texture">
|
<method name="set_texture">
|
||||||
<argument index="0" name="texture" type="Object">
|
<argument index="0" name="texture" type="Object">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the polygon texture.
|
Sets the polygon texture.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_texture" qualifiers="const">
|
<method name="get_texture" qualifiers="const">
|
||||||
<return type="Object">
|
<return type="Object">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the polygon texture
|
Returns the polygon texture
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_texture_offset">
|
<method name="set_texture_offset">
|
||||||
<argument index="0" name="texture_offset" type="Vector2">
|
<argument index="0" name="texture_offset" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the offset of the polygon texture. Initially the texture will appear anchored to the polygon position, the offset is used to move the texture location away from that point (notice that the texture origin is set to its top left corner, so when offset is 0,0 the top left corner of the texture is at the polygon position), for example setting the offset to 10, 10 will move the texture 10 units to the left and 10 units to the top.
|
Sets the offset of the polygon texture. Initially the texture will appear anchored to the polygon position, the offset is used to move the texture location away from that point (notice that the texture origin is set to its top left corner, so when offset is 0,0 the top left corner of the texture is at the polygon position), for example setting the offset to 10, 10 will move the texture 10 units to the left and 10 units to the top.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_texture_offset" qualifiers="const">
|
<method name="get_texture_offset" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the polygon texture offset
|
Returns the polygon texture offset
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_texture_rotation">
|
<method name="set_texture_rotation">
|
||||||
<argument index="0" name="texture_rotation" type="float">
|
<argument index="0" name="texture_rotation" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in degrees and clockwise rotation, meaning that if the texture rotation is set to 45 degrees, the texture will be rotated 45 degrees clockwise along the polygon position plus the texture offset.
|
Sets the amount of rotation of the polygon texture, [code]texture_rotation[/code] is specified in degrees and clockwise rotation, meaning that if the texture rotation is set to 45 degrees, the texture will be rotated 45 degrees clockwise along the polygon position plus the texture offset.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_texture_rotation" qualifiers="const">
|
<method name="get_texture_rotation" qualifiers="const">
|
||||||
<return type="float">
|
<return type="float">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the rotation in degrees of the texture polygon
|
Returns the rotation in degrees of the texture polygon
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_texture_scale">
|
<method name="set_texture_scale">
|
||||||
|
@ -27366,14 +27376,14 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="invert" type="bool">
|
<argument index="0" name="invert" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the polygon as the defined polygon bounding box minus the defined polygon (the defined polygon will appear as a hole on square that contains the defined polygon).
|
Sets the polygon as the defined polygon bounding box minus the defined polygon (the defined polygon will appear as a hole on square that contains the defined polygon).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_invert" qualifiers="const">
|
<method name="get_invert" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns whether this polygon is inverted or not
|
Returns whether this polygon is inverted or not
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_invert_border">
|
<method name="set_invert_border">
|
||||||
|
@ -27392,14 +27402,14 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="offset" type="Vector2">
|
<argument index="0" name="offset" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the amount of distance from the polygon points from the polygon position, for example if the offset is set to 10,10 then all the polygon points will move 10 units to the right and 10 units to the bottom.
|
Sets the amount of distance from the polygon points from the polygon position, for example if the offset is set to 10,10 then all the polygon points will move 10 units to the right and 10 units to the bottom.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_offset" qualifiers="const">
|
<method name="get_offset" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the polygon points offset to the polygon position.
|
Returns the polygon points offset to the polygon position.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
@ -28625,38 +28635,38 @@ This method controls whether the position between two cached points is interpola
|
||||||
</class>
|
</class>
|
||||||
<class name="RayCast2D" inherits="Node2D" category="Core">
|
<class name="RayCast2D" inherits="Node2D" category="Core">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Query the closest object intersecting a ray
|
Query the closest object intersecting a ray
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A RayCast2D represents a line from its origin to its destination position [code]cast_to[/code], it is used to query the 2D space in order to find the closest object intersecting with the ray.
|
A RayCast2D represents a line from its origin to its destination position [code]cast_to[/code], it is used to query the 2D space in order to find the closest object intersecting with the ray.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="set_enabled">
|
<method name="set_enabled">
|
||||||
<argument index="0" name="enabled" type="bool">
|
<argument index="0" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Enables the RayCast2D. Only enabled raycasts will be able to query the space and report collisions.
|
Enables the RayCast2D. Only enabled raycasts will be able to query the space and report collisions.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_enabled" qualifiers="const">
|
<method name="is_enabled" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns whether this raycast is enabled or not
|
Returns whether this raycast is enabled or not
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_cast_to">
|
<method name="set_cast_to">
|
||||||
<argument index="0" name="local_point" type="Vector2">
|
<argument index="0" name="local_point" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the ray destination point, so that the ray will test from the ray's origin to [code]local_point[/code]
|
Sets the ray destination point, so that the ray will test from the ray's origin to [code]local_point[/code]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_cast_to" qualifiers="const">
|
<method name="get_cast_to" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Return the destination point of this ray object
|
Return the destination point of this ray object
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_colliding" qualifiers="const">
|
<method name="is_colliding" qualifiers="const">
|
||||||
|
@ -28677,21 +28687,21 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the collision shape of the closest object the ray is pointing to.
|
Returns the collision shape of the closest object the ray is pointing to.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_collision_point" qualifiers="const">
|
<method name="get_collision_point" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the collision point in which the ray intersects the closest object.
|
Returns the collision point in which the ray intersects the closest object.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_collision_normal" qualifiers="const">
|
<method name="get_collision_normal" qualifiers="const">
|
||||||
<return type="Vector2">
|
<return type="Vector2">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the normal of the intersecting object shape face containing the collision point.
|
Returns the normal of the intersecting object shape face containing the collision point.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_exception_rid">
|
<method name="add_exception_rid">
|
||||||
|
@ -28704,7 +28714,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="node" type="Object">
|
<argument index="0" name="node" type="Object">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Adds a collision exception so the ray does not report collisions with the specified [code]node[/code].
|
Adds a collision exception so the ray does not report collisions with the specified [code]node[/code].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="remove_exception_rid">
|
<method name="remove_exception_rid">
|
||||||
|
@ -28717,12 +28727,12 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="node" type="Object">
|
<argument index="0" name="node" type="Object">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Removes a collision exception so the ray does report collisions with the specified [code]node[/code].
|
Removes a collision exception so the ray does report collisions with the specified [code]node[/code].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="clear_exceptions">
|
<method name="clear_exceptions">
|
||||||
<description>
|
<description>
|
||||||
Removes all collision exception for this ray.
|
Removes all collision exception for this ray.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_layer_mask">
|
<method name="set_layer_mask">
|
||||||
|
@ -28735,7 +28745,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the layer mask for this ray.
|
Returns the layer mask for this ray.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_type_mask">
|
<method name="set_type_mask">
|
||||||
|
@ -30194,7 +30204,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<return type="float">
|
<return type="float">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Return the body's moment of inertia. This is usually automatically computed from the mass and the shapes. Note that this doesn't seem to work in a [code]_ready[/code] function: it apparently has not been auto-computed yet.
|
Return the body's moment of inertia. This is usually automatically computed from the mass and the shapes. Note that this doesn't seem to work in a [code]_ready[/code] function: it apparently has not been auto-computed yet.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_inertia">
|
<method name="set_inertia">
|
||||||
|
@ -34283,7 +34293,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
<argument index="0" name="mode" type="int">
|
<argument index="0" name="mode" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]).
|
Set visibility of the split dragger([i]mode[/i] must be one of [DRAGGER_VISIBLE], [DRAGGER_HIDDEN] or [DRAGGER_HIDDEN_COLLAPSED]).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_dragger_visibility" qualifiers="const">
|
<method name="get_dragger_visibility" qualifiers="const">
|
||||||
|
@ -34305,13 +34315,13 @@ This method controls whether the position between two cached points is interpola
|
||||||
</signals>
|
</signals>
|
||||||
<constants>
|
<constants>
|
||||||
<constant name="DRAGGER_VISIBLE" value="0">
|
<constant name="DRAGGER_VISIBLE" value="0">
|
||||||
The split dragger is visible.
|
The split dragger is visible.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAGGER_HIDDEN" value="1">
|
<constant name="DRAGGER_HIDDEN" value="1">
|
||||||
The split dragger is invisible.
|
The split dragger is invisible.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="DRAGGER_HIDDEN_COLLAPSED" value="2">
|
<constant name="DRAGGER_HIDDEN_COLLAPSED" value="2">
|
||||||
The split dragger is invisible and collapsed.
|
The split dragger is invisible and collapsed.
|
||||||
</constant>
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
|
@ -40383,7 +40393,7 @@ This method controls whether the position between two cached points is interpola
|
||||||
Vector used for 2D Math.
|
Vector used for 2D Math.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
2-element structure that can be used to represent positions in 2d-space, or any other pair of numeric values.
|
2-element structure that can be used to represent positions in 2d-space, or any other pair of numeric values.
|
||||||
</description>
|
</description>
|
||||||
<methods>
|
<methods>
|
||||||
<method name="angle">
|
<method name="angle">
|
||||||
|
@ -40564,16 +40574,12 @@ This method controls whether the position between two cached points is interpola
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="x" type="float">
|
<member name="x" type="float">
|
||||||
The X axis value when treated as point(The first value in the pair).
|
|
||||||
</member>
|
</member>
|
||||||
<member name="y" type="float">
|
<member name="y" type="float">
|
||||||
The Y axis value when treated as point(The second value in the pair).
|
|
||||||
</member>
|
</member>
|
||||||
<member name="width" type="float">
|
<member name="width" type="float">
|
||||||
The width value when treated as size(The first value in the pair).
|
|
||||||
</member>
|
</member>
|
||||||
<member name="height" type="float">
|
<member name="height" type="float">
|
||||||
The height value when treated as size(The second value in the pair).
|
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
Loading…
Reference in New Issue