Files
godot-docs/classes/class_convexpolygonshape.rst
2020-03-13 17:17:50 +01:00

45 lines
1.6 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the ConvexPolygonShape.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_ConvexPolygonShape:
ConvexPolygonShape
==================
**Inherits:** :ref:`Shape<class_Shape>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
Convex polygon shape for 3D physics.
Description
-----------
Convex polygon shape resource, which can be added to a :ref:`PhysicsBody<class_PhysicsBody>` or area.
Properties
----------
+-----------------------------------------------------+---------------------------------------------------------+----------------------------+
| :ref:`PackedVector3Array<class_PackedVector3Array>` | :ref:`points<class_ConvexPolygonShape_property_points>` | ``PackedVector3Array( )`` |
+-----------------------------------------------------+---------------------------------------------------------+----------------------------+
Property Descriptions
---------------------
.. _class_ConvexPolygonShape_property_points:
- :ref:`PackedVector3Array<class_PackedVector3Array>` **points**
+-----------+----------------------------+
| *Default* | ``PackedVector3Array( )`` |
+-----------+----------------------------+
| *Setter* | set_points(value) |
+-----------+----------------------------+
| *Getter* | get_points() |
+-----------+----------------------------+
The list of 3D points forming the convex polygon shape.