Shape.xml 689 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Shape" inherits="Resource" version="3.2">
  3. <brief_description>
  4. Base class for all 3D shape resources.
  5. </brief_description>
  6. <description>
  7. Base class for all 3D shape resources. Nodes that inherit from this can be used as shapes for a [PhysicsBody] or [Area] objects.
  8. </description>
  9. <tutorials>
  10. <link>https://docs.godotengine.org/en/3.2/tutorials/physics/physics_introduction.html</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.04">
  16. The collision margin for the shape.
  17. </member>
  18. </members>
  19. <constants>
  20. </constants>
  21. </class>