VisualShaderNodeVectorDerivativeFunc.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualShaderNodeVectorDerivativeFunc" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Calculates a vector derivative within the visual shader graph.
  5. </brief_description>
  6. <description>
  7. This node is only available in [code]Fragment[/code] and [code]Light[/code] visual shaders.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeVectorDerivativeFunc.Function" default="0">
  15. A derivative type. See [enum Function] for options.
  16. </member>
  17. </members>
  18. <constants>
  19. <constant name="FUNC_SUM" value="0" enum="Function">
  20. Sum of absolute derivative in [code]x[/code] and [code]y[/code].
  21. </constant>
  22. <constant name="FUNC_X" value="1" enum="Function">
  23. Derivative in [code]x[/code] using local differencing.
  24. </constant>
  25. <constant name="FUNC_Y" value="2" enum="Function">
  26. Derivative in [code]y[/code] using local differencing.
  27. </constant>
  28. </constants>
  29. </class>