mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-12 10:15:16 +01:00
Docs setup.
This commit is contained in:
parent
c9cef93510
commit
8d8e20a396
@ -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"
|
||||
|
27
doc_classes/TextureMerger.xml
Normal file
27
doc_classes/TextureMerger.xml
Normal 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>
|
27
doc_classes/TexturePacker.xml
Normal file
27
doc_classes/TexturePacker.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user