class_convexpolygonshape.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. .. _class_ConvexPolygonShape:
  2. ConvexPolygonShape
  3. ==================
  4. **Inherits:** :ref:`Shape<class_shape>`
  5. **Category:** Core
  6. Convex Polygon Shape.
  7. Member Functions
  8. ----------------
  9. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  10. | void | :ref:`set_points<class_ConvexPolygonShape_set_points>` **(** :ref:`Vector3Array<class_vector3array>` points **)** |
  11. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  12. | :ref:`Vector3Array<class_vector3array>` | :ref:`get_points<class_ConvexPolygonShape_get_points>` **(** **)** const |
  13. +------------------------------------------+---------------------------------------------------------------------------------------------------------------------+
  14. Description
  15. -----------
  16. Convex polygon shape resource, which can be set into a :ref:`PhysicsBody<class_physicsbody>` or area.
  17. Member Function Description
  18. ---------------------------
  19. .. _class_ConvexPolygonShape_set_points:
  20. - void **set_points** **(** :ref:`Vector3Array<class_vector3array>` points **)**
  21. .. _class_ConvexPolygonShape_get_points:
  22. - :ref:`Vector3Array<class_vector3array>` **get_points** **(** **)** const