Discern between virtual and abstract class bindings
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
This commit is contained in:
parent
741bbb9d7c
commit
6f51eca1e3
90 changed files with 1075 additions and 272 deletions
|
|
@ -12,6 +12,58 @@
|
|||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_draw" qualifiers="virtual const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="to_canvas_item" type="RID" />
|
||||
<argument index="1" name="pos" type="Vector2" />
|
||||
<argument index="2" name="modulate" type="Color" />
|
||||
<argument index="3" name="transpose" type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_draw_rect" qualifiers="virtual const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="to_canvas_item" type="RID" />
|
||||
<argument index="1" name="rect" type="Rect2" />
|
||||
<argument index="2" name="tile" type="bool" />
|
||||
<argument index="3" name="modulate" type="Color" />
|
||||
<argument index="4" name="transpose" type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_draw_rect_region" qualifiers="virtual const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="tp_canvas_item" type="RID" />
|
||||
<argument index="1" name="rect" type="Rect2" />
|
||||
<argument index="2" name="src_rect" type="Rect2" />
|
||||
<argument index="3" name="modulate" type="Color" />
|
||||
<argument index="4" name="transpose" type="bool" />
|
||||
<argument index="5" name="clip_uv" type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_height" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_width" qualifiers="virtual const">
|
||||
<return type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_has_alpha" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_is_pixel_opaque" qualifiers="virtual const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="x" type="int" />
|
||||
<argument index="1" name="y" type="int" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="draw" qualifiers="const">
|
||||
<return type="void" />
|
||||
<argument index="0" name="canvas_item" type="RID" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue