VisualShaderNodeTransformFunc.xml 1.0 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualShaderNodeTransformFunc" inherits="VisualShaderNode" version="4.0">
  3. <brief_description>
  4. Computes a [Transform3D] function within the visual shader graph.
  5. </brief_description>
  6. <description>
  7. Computes an inverse or transpose function on the provided [Transform3D].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <members>
  12. <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeTransformFunc.Function" default="0">
  13. The function to be computed. See [enum Function] for options.
  14. </member>
  15. </members>
  16. <constants>
  17. <constant name="FUNC_INVERSE" value="0" enum="Function">
  18. Perform the inverse operation on the [Transform3D] matrix.
  19. </constant>
  20. <constant name="FUNC_TRANSPOSE" value="1" enum="Function">
  21. Perform the transpose operation on the [Transform3D] matrix.
  22. </constant>
  23. <constant name="FUNC_MAX" value="2" enum="Function">
  24. Represents the size of the [enum Function] enum.
  25. </constant>
  26. </constants>
  27. </class>