mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
0e3d625737
Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeTexture" inherits="VisualShaderNode" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="source" type="int" setter="set_source" getter="get_source" enum="VisualShaderNodeTexture.Source" default="0">
|
|
</member>
|
|
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
|
|
</member>
|
|
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeTexture.TextureType" default="0">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="SOURCE_TEXTURE" value="0" enum="Source">
|
|
</constant>
|
|
<constant name="SOURCE_SCREEN" value="1" enum="Source">
|
|
</constant>
|
|
<constant name="SOURCE_2D_TEXTURE" value="2" enum="Source">
|
|
</constant>
|
|
<constant name="SOURCE_2D_NORMAL" value="3" enum="Source">
|
|
</constant>
|
|
<constant name="SOURCE_DEPTH" value="4" enum="Source">
|
|
</constant>
|
|
<constant name="SOURCE_PORT" value="5" enum="Source">
|
|
</constant>
|
|
<constant name="TYPE_DATA" value="0" enum="TextureType">
|
|
</constant>
|
|
<constant name="TYPE_COLOR" value="1" enum="TextureType">
|
|
</constant>
|
|
<constant name="TYPE_NORMALMAP" value="2" enum="TextureType">
|
|
</constant>
|
|
</constants>
|
|
</class>
|