From 9eb93356086a67b84a79e3dbce9d53141f3df2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 10 Jan 2019 14:34:15 +0100 Subject: [PATCH] doc: Sync classref with current source + AUTHORS edit --- AUTHORS.md | 2 +- doc/classes/Polygon2D.xml | 6 ++-- modules/gdnative/config.py | 2 ++ ...esourceFormatLoaderVideoStreamGDNative.xml | 15 ++++++++++ .../doc_classes/VideoStreamGDNative.xml | 29 +++++++++++++++++++ 5 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 modules/gdnative/doc_classes/ResourceFormatLoaderVideoStreamGDNative.xml create mode 100644 modules/gdnative/doc_classes/VideoStreamGDNative.xml diff --git a/AUTHORS.md b/AUTHORS.md index 00fe8297bef..7859a3cd376 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -56,6 +56,7 @@ name is available. Emmanuel Leblond (touilleMan) Eric Lasota (elasota) est31 + Fabian Mathews (supagu) Fabio Alessandrelli (Faless) Ferenc Arn (tagcup) Franklin Sobrinho (TheHX) @@ -123,7 +124,6 @@ name is available. Saniko (sanikoyes) SaracenOne sersoong - supagu Theo Hallenius (TheoXD) Thomas Herzog (karroffel) Timo (toger5) diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml index c63d66ff5b0..9803837e5d6 100644 --- a/doc/classes/Polygon2D.xml +++ b/doc/classes/Polygon2D.xml @@ -87,6 +87,8 @@ 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]. + + 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]. @@ -99,9 +101,9 @@ The polygon's list of vertices. The final point will be connected to the first. - + - + The polygon's fill texture. Use [code]uv[/code] to set texture coordinates. diff --git a/modules/gdnative/config.py b/modules/gdnative/config.py index 701a13d32f6..a36e76287a7 100644 --- a/modules/gdnative/config.py +++ b/modules/gdnative/config.py @@ -13,7 +13,9 @@ def get_doc_classes(): "NativeScript", "PacketPeerGDNative", "PluginScript", + "ResourceFormatLoaderVideoStreamGDNative", "StreamPeerGDNative", + "VideoStreamGDNative", ] def get_doc_path(): diff --git a/modules/gdnative/doc_classes/ResourceFormatLoaderVideoStreamGDNative.xml b/modules/gdnative/doc_classes/ResourceFormatLoaderVideoStreamGDNative.xml new file mode 100644 index 00000000000..61a7f604993 --- /dev/null +++ b/modules/gdnative/doc_classes/ResourceFormatLoaderVideoStreamGDNative.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/modules/gdnative/doc_classes/VideoStreamGDNative.xml b/modules/gdnative/doc_classes/VideoStreamGDNative.xml new file mode 100644 index 00000000000..20575c768bd --- /dev/null +++ b/modules/gdnative/doc_classes/VideoStreamGDNative.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +