0.2.0-dev Download ZIP
27 lines ·1.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeSample3D" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | A base node for nodes which samples 3D textures in the visual shader graph. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A virtual class, use the descendants instead. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="source" type="int" setter="set_source" getter="get_source" enum="VisualShaderNodeSample3D.Source" default="0"> |
| 13 | An input source type. |
| 14 | </member> |
| 15 | </members> |
| 16 | <constants> |
| 17 | <constant name="SOURCE_TEXTURE" value="0" enum="Source"> |
| 18 | Creates internal uniform and provides a way to assign it within node. |
| 19 | </constant> |
| 20 | <constant name="SOURCE_PORT" value="1" enum="Source"> |
| 21 | Use the uniform texture from sampler port. |
| 22 | </constant> |
| 23 | <constant name="SOURCE_MAX" value="2" enum="Source"> |
| 24 | Represents the size of the [enum Source] enum. |
| 25 | </constant> |
| 26 | </constants> |
| 27 | </class> |