.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/modules/csg/doc_classes/CSGPolygon3D.xml. .. _class_CSGPolygon3D: CSGPolygon3D ============ **Inherits:** :ref:`CSGPrimitive3D` **<** :ref:`CSGShape3D` **<** :ref:`GeometryInstance3D` **<** :ref:`VisualInstance3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`float` | :ref:`depth` | ``1.0`` | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`Material` | :ref:`material` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`Mode` | :ref:`mode` | ``0`` | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`bool` | :ref:`path_continuous_u` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`float` | :ref:`path_interval` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`PathIntervalType` | :ref:`path_interval_type` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`bool` | :ref:`path_joined` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`bool` | :ref:`path_local` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`NodePath` | :ref:`path_node` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`PathRotation` | :ref:`path_rotation` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`float` | :ref:`path_simplify_angle` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`float` | :ref:`path_u_distance` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`PackedVector2Array` | :ref:`polygon` | ``PackedVector2Array(0, 0, 0, 1, 1, 1, 1, 0)`` | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`bool` | :ref:`smooth_faces` | ``false`` | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`float` | :ref:`spin_degrees` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ | :ref:`int` | :ref:`spin_sides` | | +-------------------------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_CSGPolygon3D_Mode: .. rst-class:: classref-enumeration enum **Mode**: .. _class_CSGPolygon3D_constant_MODE_DEPTH: .. rst-class:: classref-enumeration-constant :ref:`Mode` **MODE_DEPTH** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGPolygon3D_constant_MODE_SPIN: .. rst-class:: classref-enumeration-constant :ref:`Mode` **MODE_SPIN** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGPolygon3D_constant_MODE_PATH: .. rst-class:: classref-enumeration-constant :ref:`Mode` **MODE_PATH** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_CSGPolygon3D_PathRotation: .. rst-class:: classref-enumeration enum **PathRotation**: .. _class_CSGPolygon3D_constant_PATH_ROTATION_POLYGON: .. rst-class:: classref-enumeration-constant :ref:`PathRotation` **PATH_ROTATION_POLYGON** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGPolygon3D_constant_PATH_ROTATION_PATH: .. rst-class:: classref-enumeration-constant :ref:`PathRotation` **PATH_ROTATION_PATH** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGPolygon3D_constant_PATH_ROTATION_PATH_FOLLOW: .. rst-class:: classref-enumeration-constant :ref:`PathRotation` **PATH_ROTATION_PATH_FOLLOW** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_CSGPolygon3D_PathIntervalType: .. rst-class:: classref-enumeration enum **PathIntervalType**: .. _class_CSGPolygon3D_constant_PATH_INTERVAL_DISTANCE: .. rst-class:: classref-enumeration-constant :ref:`PathIntervalType` **PATH_INTERVAL_DISTANCE** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_CSGPolygon3D_constant_PATH_INTERVAL_SUBDIVIDE: .. rst-class:: classref-enumeration-constant :ref:`PathIntervalType` **PATH_INTERVAL_SUBDIVIDE** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_CSGPolygon3D_property_depth: .. rst-class:: classref-property :ref:`float` **depth** = ``1.0`` .. rst-class:: classref-property-setget - void **set_depth** **(** :ref:`float` value **)** - :ref:`float` **get_depth** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_material: .. rst-class:: classref-property :ref:`Material` **material** .. rst-class:: classref-property-setget - void **set_material** **(** :ref:`Material` value **)** - :ref:`Material` **get_material** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_mode: .. rst-class:: classref-property :ref:`Mode` **mode** = ``0`` .. rst-class:: classref-property-setget - void **set_mode** **(** :ref:`Mode` value **)** - :ref:`Mode` **get_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_continuous_u: .. rst-class:: classref-property :ref:`bool` **path_continuous_u** .. rst-class:: classref-property-setget - void **set_path_continuous_u** **(** :ref:`bool` value **)** - :ref:`bool` **is_path_continuous_u** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_interval: .. rst-class:: classref-property :ref:`float` **path_interval** .. rst-class:: classref-property-setget - void **set_path_interval** **(** :ref:`float` value **)** - :ref:`float` **get_path_interval** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_interval_type: .. rst-class:: classref-property :ref:`PathIntervalType` **path_interval_type** .. rst-class:: classref-property-setget - void **set_path_interval_type** **(** :ref:`PathIntervalType` value **)** - :ref:`PathIntervalType` **get_path_interval_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_joined: .. rst-class:: classref-property :ref:`bool` **path_joined** .. rst-class:: classref-property-setget - void **set_path_joined** **(** :ref:`bool` value **)** - :ref:`bool` **is_path_joined** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_local: .. rst-class:: classref-property :ref:`bool` **path_local** .. rst-class:: classref-property-setget - void **set_path_local** **(** :ref:`bool` value **)** - :ref:`bool` **is_path_local** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_node: .. rst-class:: classref-property :ref:`NodePath` **path_node** .. rst-class:: classref-property-setget - void **set_path_node** **(** :ref:`NodePath` value **)** - :ref:`NodePath` **get_path_node** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_rotation: .. rst-class:: classref-property :ref:`PathRotation` **path_rotation** .. rst-class:: classref-property-setget - void **set_path_rotation** **(** :ref:`PathRotation` value **)** - :ref:`PathRotation` **get_path_rotation** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_simplify_angle: .. rst-class:: classref-property :ref:`float` **path_simplify_angle** .. rst-class:: classref-property-setget - void **set_path_simplify_angle** **(** :ref:`float` value **)** - :ref:`float` **get_path_simplify_angle** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_path_u_distance: .. rst-class:: classref-property :ref:`float` **path_u_distance** .. rst-class:: classref-property-setget - void **set_path_u_distance** **(** :ref:`float` value **)** - :ref:`float` **get_path_u_distance** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_polygon: .. rst-class:: classref-property :ref:`PackedVector2Array` **polygon** = ``PackedVector2Array(0, 0, 0, 1, 1, 1, 1, 0)`` .. rst-class:: classref-property-setget - void **set_polygon** **(** :ref:`PackedVector2Array` value **)** - :ref:`PackedVector2Array` **get_polygon** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_smooth_faces: .. rst-class:: classref-property :ref:`bool` **smooth_faces** = ``false`` .. rst-class:: classref-property-setget - void **set_smooth_faces** **(** :ref:`bool` value **)** - :ref:`bool` **get_smooth_faces** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_spin_degrees: .. rst-class:: classref-property :ref:`float` **spin_degrees** .. rst-class:: classref-property-setget - void **set_spin_degrees** **(** :ref:`float` value **)** - :ref:`float` **get_spin_degrees** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CSGPolygon3D_property_spin_sides: .. rst-class:: classref-property :ref:`int` **spin_sides** .. rst-class:: classref-property-setget - void **set_spin_sides** **(** :ref:`int` value **)** - :ref:`int` **get_spin_sides** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`