mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with changes from godotengine/godot#24640
This commit is contained in:
@@ -21,29 +21,29 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------+--------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`layers<class_VisualInstance_layers>` |
|
||||
+-----------------------+--------------------------------------------+
|
||||
+-----------------------+-----------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`layers<class_VisualInstance_property_layers>` |
|
||||
+-----------------------+-----------------------------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`AABB<class_AABB>` | :ref:`get_aabb<class_VisualInstance_get_aabb>` **(** **)** const |
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`get_layer_mask_bit<class_VisualInstance_get_layer_mask_bit>` **(** :ref:`int<class_int>` layer **)** const |
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`AABB<class_AABB>` | :ref:`get_transformed_aabb<class_VisualInstance_get_transformed_aabb>` **(** **)** const |
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_base<class_VisualInstance_set_base>` **(** :ref:`RID<class_RID>` base **)** |
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_layer_mask_bit<class_VisualInstance_set_layer_mask_bit>` **(** :ref:`int<class_int>` layer, :ref:`bool<class_bool>` enabled **)** |
|
||||
+--------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`AABB<class_AABB>` | :ref:`get_aabb<class_VisualInstance_method_get_aabb>` **(** **)** const |
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`get_layer_mask_bit<class_VisualInstance_method_get_layer_mask_bit>` **(** :ref:`int<class_int>` layer **)** const |
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`AABB<class_AABB>` | :ref:`get_transformed_aabb<class_VisualInstance_method_get_transformed_aabb>` **(** **)** const |
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_base<class_VisualInstance_method_set_base>` **(** :ref:`RID<class_RID>` base **)** |
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_layer_mask_bit<class_VisualInstance_method_set_layer_mask_bit>` **(** :ref:`int<class_int>` layer, :ref:`bool<class_bool>` enabled **)** |
|
||||
+-------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_VisualInstance_layers:
|
||||
.. _class_VisualInstance_property_layers:
|
||||
|
||||
- :ref:`int<class_int>` **layers**
|
||||
|
||||
@@ -60,17 +60,17 @@ This object will only be visible for :ref:`Camera<class_Camera>`\ s whose cull m
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_VisualInstance_get_aabb:
|
||||
.. _class_VisualInstance_method_get_aabb:
|
||||
|
||||
- :ref:`AABB<class_AABB>` **get_aabb** **(** **)** const
|
||||
|
||||
Returns the :ref:`AABB<class_AABB>` (also known as the bounding box) for this VisualInstance.
|
||||
|
||||
.. _class_VisualInstance_get_layer_mask_bit:
|
||||
.. _class_VisualInstance_method_get_layer_mask_bit:
|
||||
|
||||
- :ref:`bool<class_bool>` **get_layer_mask_bit** **(** :ref:`int<class_int>` layer **)** const
|
||||
|
||||
.. _class_VisualInstance_get_transformed_aabb:
|
||||
.. _class_VisualInstance_method_get_transformed_aabb:
|
||||
|
||||
- :ref:`AABB<class_AABB>` **get_transformed_aabb** **(** **)** const
|
||||
|
||||
@@ -78,7 +78,7 @@ Returns the transformed :ref:`AABB<class_AABB>` (also known as the bounding box)
|
||||
|
||||
Transformed in this case means the :ref:`AABB<class_AABB>` plus the position, rotation, and scale of the :ref:`Spatial<class_Spatial>`\ s :ref:`Transform<class_Transform>`
|
||||
|
||||
.. _class_VisualInstance_set_base:
|
||||
.. _class_VisualInstance_method_set_base:
|
||||
|
||||
- void **set_base** **(** :ref:`RID<class_RID>` base **)**
|
||||
|
||||
@@ -86,7 +86,7 @@ Sets the base of the VisualInstance, which changes how the engine handles the Vi
|
||||
|
||||
It is recommended to only use set_base if you know what you're doing.
|
||||
|
||||
.. _class_VisualInstance_set_layer_mask_bit:
|
||||
.. _class_VisualInstance_method_set_layer_mask_bit:
|
||||
|
||||
- void **set_layer_mask_bit** **(** :ref:`int<class_int>` layer, :ref:`bool<class_bool>` enabled **)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user