class_convexpolygonshape.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the ConvexPolygonShape.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_ConvexPolygonShape:
  5. ConvexPolygonShape
  6. ==================
  7. **Inherits:** :ref:`Shape<class_Shape>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Convex polygon shape for 3D physics.
  12. Properties
  13. ----------
  14. +-------------------------------------------------+---------------------------------------------------------+----------------------+
  15. | :ref:`PoolVector3Array<class_PoolVector3Array>` | :ref:`points<class_ConvexPolygonShape_property_points>` | PoolVector3Array( ) |
  16. +-------------------------------------------------+---------------------------------------------------------+----------------------+
  17. Description
  18. -----------
  19. Convex polygon shape resource, which can be added to a :ref:`PhysicsBody<class_PhysicsBody>` or area.
  20. Property Descriptions
  21. ---------------------
  22. .. _class_ConvexPolygonShape_property_points:
  23. - :ref:`PoolVector3Array<class_PoolVector3Array>` **points**
  24. +-----------+----------------------+
  25. | *Default* | PoolVector3Array( ) |
  26. +-----------+----------------------+
  27. | *Setter* | set_points(value) |
  28. +-----------+----------------------+
  29. | *Getter* | get_points() |
  30. +-----------+----------------------+
  31. The list of 3D points forming the convex polygon shape.