Docs setup.

This commit is contained in:
Relintai 2019-10-22 02:10:35 +02:00
parent c9cef93510
commit 8d8e20a396
3 changed files with 63 additions and 0 deletions

View File

@ -3,3 +3,12 @@ def can_build(env, platform):
def configure(env):
pass
def get_doc_classes():
return [
"TextureMerger",
"TexturePacker",
]
def get_doc_path():
return "doc_classes"

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="TextureMerger" inherits="Node" category="Addon" version="3.2">
<brief_description>
A node, that can merge textures.
</brief_description>
This node can pack the textures given to it. It uses
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="texture_flags" type="int" setter="set_texture_flags" getter="get_texture_flags" default="5">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="TexturePacker" inherits="Reference" category="Addon" version="3.2">
<brief_description>
A class, that can merge textures.
</brief_description>
This class can pack the textures given to it.
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="texture_flags" type="int" setter="set_texture_flags" getter="get_texture_flags" default="5">
</member>
</members>
<constants>
</constants>
</class>