godot/doc/classes/CompressedTexture2D.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
985 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="CompressedTexture2D" inherits="Texture2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
2022-03-10 03:22:36 +00:00
A [code].ctex[/code] texture.
</brief_description>
<description>
2022-03-10 03:22:36 +00:00
A texture that is loaded from a [code].ctex[/code] file.
</description>
<tutorials>
</tutorials>
<methods>
<method name="load">
<return type="int" enum="Error" />
<param index="0" name="path" type="String" />
<description>
2020-03-03 18:21:21 +00:00
Loads the texture from the given path.
</description>
</method>
</methods>
<members>
<member name="load_path" type="String" setter="load" getter="get_load_path" default="&quot;&quot;">
2022-03-10 03:22:36 +00:00
The CompressedTexture's file path to a [code].ctex[/code] file.
</member>
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
</members>
</class>