Files
godot-docs/classes/class_convexpolygonshape.rst
2019-01-07 10:14:12 +01:00

46 lines
1.4 KiB
ReStructuredText

.. 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>`
**Category:** Core
Brief Description
-----------------
Convex polygon shape for 3D physics.
Properties
----------
+-------------------------------------------------+---------------------------------------------------------+
| :ref:`PoolVector3Array<class_PoolVector3Array>` | :ref:`points<class_ConvexPolygonShape_property_points>` |
+-------------------------------------------------+---------------------------------------------------------+
Description
-----------
Convex polygon shape resource, which can be added to a :ref:`PhysicsBody<class_PhysicsBody>` or area.
Property Descriptions
---------------------
.. _class_ConvexPolygonShape_property_points:
- :ref:`PoolVector3Array<class_PoolVector3Array>` **points**
+----------+-------------------+
| *Setter* | set_points(value) |
+----------+-------------------+
| *Getter* | get_points() |
+----------+-------------------+
The list of 3D points forming the convex polygon shape.