texture_packer/doc_classes/PackerImageResource.xml

21 lines
862 B
XML
Raw Normal View History

2019-12-25 14:11:34 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PackerImageResource" inherits="Texture" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
2019-12-25 14:11:34 +01:00
<brief_description>
A simple [Texture] class containing an imported [Image] without drawing logic.
2019-12-25 14:11:34 +01:00
</brief_description>
<description>
PackerImageResource is a Texture class designed for baking textures. It contains an imported [Image] and does not register its data in the [RenderingServer]. This makes it useful for textures that are only needed for baking.
2019-12-25 14:11:34 +01:00
</description>
<tutorials>
</tutorials>
<methods>
<method name="set_data">
<return type="void" />
<param index="0" name="image" type="Image" />
<description>
Sets the image data for the [PackerImageResource].
</description>
</method>
2019-12-25 14:11:34 +01:00
</methods>
</class>