ConcavePolygonShape.xml 865 B

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="ConcavePolygonShape" inherits="Shape" category="Core" version="3.1.2">
  3. <brief_description>
  4. Concave polygon shape.
  5. </brief_description>
  6. <description>
  7. Concave polygon shape resource, which can be set into a [PhysicsBody] or area. This shape is created by feeding a list of triangles.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="get_faces" qualifiers="const">
  13. <return type="PoolVector3Array">
  14. </return>
  15. <description>
  16. Returns the faces (an array of triangles).
  17. </description>
  18. </method>
  19. <method name="set_faces">
  20. <return type="void">
  21. </return>
  22. <argument index="0" name="faces" type="PoolVector3Array">
  23. </argument>
  24. <description>
  25. Set the faces (an array of triangles).
  26. </description>
  27. </method>
  28. </methods>
  29. <constants>
  30. </constants>
  31. </class>