SphereShape3D.xml 678 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SphereShape3D" inherits="Shape3D" version="4.0">
  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 [PhysicsBody3D] or [Area3D]. This shape is useful for modeling sphere-like 3D objects.
  8. </description>
  9. <tutorials>
  10. <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link>
  11. </tutorials>
  12. <members>
  13. <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
  14. The sphere's radius. The shape's diameter is double the radius.
  15. </member>
  16. </members>
  17. </class>