mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Classref fixes
This commit is contained in:
@@ -2054,7 +2054,7 @@ Allows an application to record audio. See `RECORD_AUDIO <https://developer.andr
|
||||
|
||||
:ref:`bool<class_bool>` **permissions/reorder_tasks**
|
||||
|
||||
Allows an application to change the Z-order of tasks. See `REORDER_TASKS < https://developer.android.com/reference/android/Manifest.permission#REORDER_TASKS>`__.
|
||||
Allows an application to change the Z-order of tasks. See `REORDER_TASKS <https://developer.android.com/reference/android/Manifest.permission#REORDER_TASKS>`__.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
|
||||
@@ -26,17 +26,14 @@ Here's a sample on how to generate a triangular face:
|
||||
|
||||
.. tabs::
|
||||
|
||||
var mesh = ImmediateMesh.new()
|
||||
.. code-tab:: gdscript
|
||||
|
||||
mesh.surface_begin(Mesh.PRIMITIVE_TRIANGLES)
|
||||
|
||||
mesh.surface_add_vertex(Vector3.LEFT)
|
||||
|
||||
mesh.surface_add_vertex(Vector3.FORWARD)
|
||||
|
||||
mesh.surface_add_vertex(Vector3.ZERO)
|
||||
|
||||
mesh.surface_end()
|
||||
var mesh = ImmediateMesh.new()
|
||||
mesh.surface_begin(Mesh.PRIMITIVE_TRIANGLES)
|
||||
mesh.surface_add_vertex(Vector3.LEFT)
|
||||
mesh.surface_add_vertex(Vector3.FORWARD)
|
||||
mesh.surface_add_vertex(Vector3.ZERO)
|
||||
mesh.surface_end()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user