mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 20:29:03 +00:00
83 lines
4.1 KiB
ReStructuredText
83 lines
4.1 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_CubeMesh:
|
|
|
|
CubeMesh
|
|
========
|
|
|
|
**Inherits:** :ref:`PrimitiveMesh<class_primitivemesh>` **<** :ref:`Mesh<class_mesh>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector3<class_vector3>` | :ref:`get_size<class_CubeMesh_get_size>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_subdivide_depth<class_CubeMesh_get_subdivide_depth>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_subdivide_height<class_CubeMesh_get_subdivide_height>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_subdivide_width<class_CubeMesh_get_subdivide_width>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_size<class_CubeMesh_set_size>` **(** :ref:`Vector3<class_vector3>` size **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_subdivide_depth<class_CubeMesh_set_subdivide_depth>` **(** :ref:`int<class_int>` divisions **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_subdivide_height<class_CubeMesh_set_subdivide_height>` **(** :ref:`int<class_int>` divisions **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_subdivide_width<class_CubeMesh_set_subdivide_width>` **(** :ref:`int<class_int>` subdivide **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
- :ref:`Vector2<class_vector2>` **size**
|
|
- :ref:`int<class_int>` **subdivide_depth**
|
|
- :ref:`int<class_int>` **subdivide_height**
|
|
- :ref:`int<class_int>` **subdivide_width**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_CubeMesh_get_size:
|
|
|
|
- :ref:`Vector3<class_vector3>` **get_size** **(** **)** const
|
|
|
|
.. _class_CubeMesh_get_subdivide_depth:
|
|
|
|
- :ref:`int<class_int>` **get_subdivide_depth** **(** **)** const
|
|
|
|
.. _class_CubeMesh_get_subdivide_height:
|
|
|
|
- :ref:`int<class_int>` **get_subdivide_height** **(** **)** const
|
|
|
|
.. _class_CubeMesh_get_subdivide_width:
|
|
|
|
- :ref:`int<class_int>` **get_subdivide_width** **(** **)** const
|
|
|
|
.. _class_CubeMesh_set_size:
|
|
|
|
- void **set_size** **(** :ref:`Vector3<class_vector3>` size **)**
|
|
|
|
.. _class_CubeMesh_set_subdivide_depth:
|
|
|
|
- void **set_subdivide_depth** **(** :ref:`int<class_int>` divisions **)**
|
|
|
|
.. _class_CubeMesh_set_subdivide_height:
|
|
|
|
- void **set_subdivide_height** **(** :ref:`int<class_int>` divisions **)**
|
|
|
|
.. _class_CubeMesh_set_subdivide_width:
|
|
|
|
- void **set_subdivide_width** **(** :ref:`int<class_int>` subdivide **)**
|
|
|
|
|