class_convexpolygonshape.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_ConvexPolygonShape:
  4. ConvexPolygonShape
  5. ==================
  6. **Inherits:** :ref:`Shape<class_shape>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Convex Polygon Shape.
  11. Member Functions
  12. ----------------
  13. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`Vector3Array<class_vector3array>` | :ref:`get_points<class_ConvexPolygonShape_get_points>` **(** **)** const |
  15. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  16. | void | :ref:`set_points<class_ConvexPolygonShape_set_points>` **(** :ref:`Vector3Array<class_vector3array>` points **)** |
  17. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  18. Description
  19. -----------
  20. Convex polygon shape resource, which can be set into a :ref:`PhysicsBody<class_physicsbody>` or area.
  21. Member Function Description
  22. ---------------------------
  23. .. _class_ConvexPolygonShape_get_points:
  24. - :ref:`Vector3Array<class_vector3array>` **get_points** **(** **)** const
  25. .. _class_ConvexPolygonShape_set_points:
  26. - void **set_points** **(** :ref:`Vector3Array<class_vector3array>` points **)**