doc: Sync classref with current source + AUTHORS edit

This commit is contained in:
Rémi Verschelde 2019-01-10 14:34:15 +01:00
parent bcd05c0d91
commit 9eb9335608
5 changed files with 51 additions and 3 deletions

View file

@ -56,6 +56,7 @@ name is available.
Emmanuel Leblond (touilleMan) Emmanuel Leblond (touilleMan)
Eric Lasota (elasota) Eric Lasota (elasota)
est31 est31
Fabian Mathews (supagu)
Fabio Alessandrelli (Faless) Fabio Alessandrelli (Faless)
Ferenc Arn (tagcup) Ferenc Arn (tagcup)
Franklin Sobrinho (TheHX) Franklin Sobrinho (TheHX)
@ -123,7 +124,6 @@ name is available.
Saniko (sanikoyes) Saniko (sanikoyes)
SaracenOne SaracenOne
sersoong sersoong
supagu
Theo Hallenius (TheoXD) Theo Hallenius (TheoXD)
Thomas Herzog (karroffel) Thomas Herzog (karroffel)
Timo (toger5) Timo (toger5)

View file

@ -87,6 +87,8 @@
<member name="color" type="Color" setter="set_color" getter="get_color"> <member name="color" type="Color" setter="set_color" getter="get_color">
The polygon's fill color. If [code]texture[/code] is defined, it will be multiplied by this color. It will also be the default color for vertices not set in [code]vertex_colors[/code]. The polygon's fill color. If [code]texture[/code] is defined, it will be multiplied by this color. It will also be the default color for vertices not set in [code]vertex_colors[/code].
</member> </member>
<member name="internal_vertex_count" type="int" setter="set_internal_vertex_count" getter="get_internal_vertex_count">
</member>
<member name="invert_border" type="float" setter="set_invert_border" getter="get_invert_border"> <member name="invert_border" type="float" setter="set_invert_border" getter="get_invert_border">
Added padding applied to the bounding box when using [code]invert[/code]. Setting this value too small may result in a "Bad Polygon" error. Default value: [code]100[/code]. Added padding applied to the bounding box when using [code]invert[/code]. Setting this value too small may result in a "Bad Polygon" error. Default value: [code]100[/code].
</member> </member>
@ -99,9 +101,9 @@
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon"> <member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
The polygon's list of vertices. The final point will be connected to the first. The polygon's list of vertices. The final point will be connected to the first.
</member> </member>
<member name="skeleton" type="NodePath" setter="set_skeleton" getter="get_skeleton"> <member name="polygons" type="Array" setter="set_polygons" getter="get_polygons">
</member> </member>
<member name="splits" type="PoolIntArray" setter="set_splits" getter="get_splits"> <member name="skeleton" type="NodePath" setter="set_skeleton" getter="get_skeleton">
</member> </member>
<member name="texture" type="Texture" setter="set_texture" getter="get_texture"> <member name="texture" type="Texture" setter="set_texture" getter="get_texture">
The polygon's fill texture. Use [code]uv[/code] to set texture coordinates. The polygon's fill texture. Use [code]uv[/code] to set texture coordinates.

View file

@ -13,7 +13,9 @@ def get_doc_classes():
"NativeScript", "NativeScript",
"PacketPeerGDNative", "PacketPeerGDNative",
"PluginScript", "PluginScript",
"ResourceFormatLoaderVideoStreamGDNative",
"StreamPeerGDNative", "StreamPeerGDNative",
"VideoStreamGDNative",
] ]
def get_doc_path(): def get_doc_path():

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="ResourceFormatLoaderVideoStreamGDNative" inherits="ResourceFormatLoader" category="Core" version="3.1">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
</methods>
<constants>
</constants>
</class>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VideoStreamGDNative" inherits="VideoStream" category="Core" version="3.1">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="get_file">
<return type="String">
</return>
<description>
</description>
</method>
<method name="set_file">
<return type="void">
</return>
<argument index="0" name="file" type="String">
</argument>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>