mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
doc: Sync classref with current source
This commit is contained in:
parent
1235d422ea
commit
914f51031c
@ -446,67 +446,65 @@
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBA5551" value="7" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGB10A2" value="8" enum="Format">
|
||||
<constant name="FORMAT_RF" value="8" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RF" value="9" enum="Format">
|
||||
<constant name="FORMAT_RGF" value="9" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGF" value="10" enum="Format">
|
||||
<constant name="FORMAT_RGBF" value="10" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBF" value="11" enum="Format">
|
||||
<constant name="FORMAT_RGBAF" value="11" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBAF" value="12" enum="Format">
|
||||
<constant name="FORMAT_RH" value="12" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RH" value="13" enum="Format">
|
||||
<constant name="FORMAT_RGH" value="13" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGH" value="14" enum="Format">
|
||||
<constant name="FORMAT_RGBH" value="14" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBH" value="15" enum="Format">
|
||||
<constant name="FORMAT_RGBAH" value="15" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBAH" value="16" enum="Format">
|
||||
<constant name="FORMAT_RGBE9995" value="16" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGBE9995" value="17" enum="Format">
|
||||
<constant name="FORMAT_DXT1" value="17" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_DXT1" value="18" enum="Format">
|
||||
<constant name="FORMAT_DXT3" value="18" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_DXT3" value="19" enum="Format">
|
||||
<constant name="FORMAT_DXT5" value="19" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_DXT5" value="20" enum="Format">
|
||||
<constant name="FORMAT_RGTC_R" value="20" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGTC_R" value="21" enum="Format">
|
||||
<constant name="FORMAT_RGTC_RG" value="21" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_RGTC_RG" value="22" enum="Format">
|
||||
<constant name="FORMAT_BPTC_RGBA" value="22" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_BPTC_RGBA" value="23" enum="Format">
|
||||
<constant name="FORMAT_BPTC_RGBF" value="23" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_BPTC_RGBF" value="24" enum="Format">
|
||||
<constant name="FORMAT_BPTC_RGBFU" value="24" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_BPTC_RGBFU" value="25" enum="Format">
|
||||
<constant name="FORMAT_PVRTC2" value="25" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_PVRTC2" value="26" enum="Format">
|
||||
<constant name="FORMAT_PVRTC2A" value="26" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_PVRTC2A" value="27" enum="Format">
|
||||
<constant name="FORMAT_PVRTC4" value="27" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_PVRTC4" value="28" enum="Format">
|
||||
<constant name="FORMAT_PVRTC4A" value="28" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_PVRTC4A" value="29" enum="Format">
|
||||
<constant name="FORMAT_ETC" value="29" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC" value="30" enum="Format">
|
||||
<constant name="FORMAT_ETC2_R11" value="30" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_R11" value="31" enum="Format">
|
||||
<constant name="FORMAT_ETC2_R11S" value="31" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_R11S" value="32" enum="Format">
|
||||
<constant name="FORMAT_ETC2_RG11" value="32" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_RG11" value="33" enum="Format">
|
||||
<constant name="FORMAT_ETC2_RG11S" value="33" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_RG11S" value="34" enum="Format">
|
||||
<constant name="FORMAT_ETC2_RGB8" value="34" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_RGB8" value="35" enum="Format">
|
||||
<constant name="FORMAT_ETC2_RGBA8" value="35" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_RGBA8" value="36" enum="Format">
|
||||
<constant name="FORMAT_ETC2_RGB8A1" value="36" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_ETC2_RGB8A1" value="37" enum="Format">
|
||||
</constant>
|
||||
<constant name="FORMAT_MAX" value="38" enum="Format">
|
||||
<constant name="FORMAT_MAX" value="37" enum="Format">
|
||||
</constant>
|
||||
<constant name="INTERPOLATE_NEAREST" value="0" enum="Interpolation">
|
||||
</constant>
|
||||
|
@ -157,12 +157,12 @@
|
||||
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform">
|
||||
Local [Transform2D].
|
||||
</member>
|
||||
<member name="z_index" type="int" setter="set_z_index" getter="get_z_index">
|
||||
Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others.
|
||||
</member>
|
||||
<member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative">
|
||||
If [code]true[/code] the node's Z-index is relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5.
|
||||
</member>
|
||||
<member name="z_index" type="int" setter="set_z_index" getter="get_z_index">
|
||||
Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -504,17 +504,6 @@
|
||||
Sets if the canvas item (including its children) is visible.
|
||||
</description>
|
||||
</method>
|
||||
<method name="canvas_item_set_z">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="item" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="z" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the [CanvasItem]'s z order position.
|
||||
</description>
|
||||
</method>
|
||||
<method name="canvas_item_set_z_as_relative_to_parent">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -523,7 +512,18 @@
|
||||
<argument index="1" name="enabled" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
If this is enabled, the z-position of the parent will be added to the childrens z-position.
|
||||
If this is enabled, the z-index of the parent will be added to the children's z-index.
|
||||
</description>
|
||||
</method>
|
||||
<method name="canvas_item_set_z_index">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="item" type="RID">
|
||||
</argument>
|
||||
<argument index="1" name="z_index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the [CanvasItem]'s z-index, i.e. its draw order (lower indexes are drawn first).
|
||||
</description>
|
||||
</method>
|
||||
<method name="canvas_light_attach_to_canvas">
|
||||
|
Loading…
Reference in New Issue
Block a user