2018-07-26 17:56:21 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 09:03:48 +08:00
|
|
|
<class name="VisualShaderNodeTexture" inherits="VisualShaderNode" version="4.0">
|
2018-07-26 17:56:21 +08:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="source" type="int" setter="set_source" getter="get_source" enum="VisualShaderNodeTexture.Source" default="0">
|
2018-07-26 17:56:21 +08:00
|
|
|
</member>
|
2020-02-12 16:59:06 +08:00
|
|
|
<member name="texture" type="Texture2D" setter="set_texture" getter="get_texture">
|
2018-07-26 17:56:21 +08:00
|
|
|
</member>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="texture_type" type="int" setter="set_texture_type" getter="get_texture_type" enum="VisualShaderNodeTexture.TextureType" default="0">
|
2018-07-26 17:56:21 +08:00
|
|
|
</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>
|
2019-07-05 16:48:31 +08:00
|
|
|
<constant name="SOURCE_DEPTH" value="4" enum="Source">
|
|
|
|
</constant>
|
2019-12-13 17:37:59 +08:00
|
|
|
<constant name="SOURCE_PORT" value="5" enum="Source">
|
|
|
|
</constant>
|
2018-07-26 17:56:21 +08:00
|
|
|
<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>
|