mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
44 lines
1.7 KiB
ReStructuredText
44 lines
1.7 KiB
ReStructuredText
.. _class_VisualInstance:
|
|
|
|
VisualInstance
|
|
==============
|
|
|
|
**Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Inherited By:** :ref:`BakedLightInstance<class_bakedlightinstance>`, :ref:`Light<class_light>`, :ref:`Room<class_room>`, :ref:`BakedLightSampler<class_bakedlightsampler>`, :ref:`Portal<class_portal>`, :ref:`GeometryInstance<class_geometryinstance>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+------------------------+-----------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_base<class_VisualInstance_set_base>` **(** :ref:`RID<class_rid>` base **)** |
|
|
+------------------------+-----------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_layer_mask<class_VisualInstance_set_layer_mask>` **(** :ref:`int<class_int>` mask **)** |
|
|
+------------------------+-----------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_layer_mask<class_VisualInstance_get_layer_mask>` **(** **)** const |
|
|
+------------------------+-----------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_VisualInstance_set_base:
|
|
|
|
- void **set_base** **(** :ref:`RID<class_rid>` base **)**
|
|
|
|
.. _class_VisualInstance_set_layer_mask:
|
|
|
|
- void **set_layer_mask** **(** :ref:`int<class_int>` mask **)**
|
|
|
|
.. _class_VisualInstance_get_layer_mask:
|
|
|
|
- :ref:`int<class_int>` **get_layer_mask** **(** **)** const
|
|
|
|
|