1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- .. 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_ViewportSprite:
- ViewportSprite
- ==============
- **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Member Functions
- ----------------
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_viewport_path<class_ViewportSprite_set_viewport_path>` **(** :ref:`NodePath<class_nodepath>` path **)** |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | :ref:`NodePath<class_nodepath>` | :ref:`get_viewport_path<class_ViewportSprite_get_viewport_path>` **(** **)** const |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_centered<class_ViewportSprite_set_centered>` **(** :ref:`bool<class_bool>` centered **)** |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`is_centered<class_ViewportSprite_is_centered>` **(** **)** const |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_offset<class_ViewportSprite_set_offset>` **(** :ref:`Vector2<class_vector2>` offset **)** |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2<class_vector2>` | :ref:`get_offset<class_ViewportSprite_get_offset>` **(** **)** const |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_modulate<class_ViewportSprite_set_modulate>` **(** :ref:`Color<class_color>` modulate **)** |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- | :ref:`Color<class_color>` | :ref:`get_modulate<class_ViewportSprite_get_modulate>` **(** **)** const |
- +----------------------------------+---------------------------------------------------------------------------------------------------------------------+
- Member Function Description
- ---------------------------
- .. _class_ViewportSprite_set_viewport_path:
- - void **set_viewport_path** **(** :ref:`NodePath<class_nodepath>` path **)**
- .. _class_ViewportSprite_get_viewport_path:
- - :ref:`NodePath<class_nodepath>` **get_viewport_path** **(** **)** const
- .. _class_ViewportSprite_set_centered:
- - void **set_centered** **(** :ref:`bool<class_bool>` centered **)**
- .. _class_ViewportSprite_is_centered:
- - :ref:`bool<class_bool>` **is_centered** **(** **)** const
- .. _class_ViewportSprite_set_offset:
- - void **set_offset** **(** :ref:`Vector2<class_vector2>` offset **)**
- .. _class_ViewportSprite_get_offset:
- - :ref:`Vector2<class_vector2>` **get_offset** **(** **)** const
- .. _class_ViewportSprite_set_modulate:
- - void **set_modulate** **(** :ref:`Color<class_color>` modulate **)**
- .. _class_ViewportSprite_get_modulate:
- - :ref:`Color<class_color>` **get_modulate** **(** **)** const
|