PrismMesh.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PrismMesh" inherits="PrimitiveMesh" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Class representing a prism-shaped [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Class representing a prism-shaped [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="left_to_right" type="float" setter="set_left_to_right" getter="get_left_to_right" default="0.5">
  15. Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.
  16. </member>
  17. <member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )">
  18. Size of the prism.
  19. </member>
  20. <member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth" default="0">
  21. Number of added edge loops along the Z axis.
  22. </member>
  23. <member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height" default="0">
  24. Number of added edge loops along the Y axis.
  25. </member>
  26. <member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width" default="0">
  27. Number of added edge loops along the X axis.
  28. </member>
  29. </members>
  30. <constants>
  31. </constants>
  32. </class>