mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
45 lines
1.6 KiB
ReStructuredText
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.
|
|
|