class_convexpolygonshape.rst 1.5 KB

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