SphereShape.xml 648 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SphereShape" inherits="Shape" category="Core" version="3.1">
  3. <brief_description>
  4. Sphere shape for 3D collisions.
  5. </brief_description>
  6. <description>
  7. Sphere shape for 3D collisions, which can be set into a [PhysicsBody] or [Area]. This shape is useful for modeling sphere-like 3D objects.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="radius" type="float" setter="set_radius" getter="get_radius">
  17. The sphere's radius. The shape's diameter is double the radius.
  18. </member>
  19. </members>
  20. <constants>
  21. </constants>
  22. </class>