.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/CanvasLayer.xml. .. _class_CanvasLayer: CanvasLayer =========== **Inherits:** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`JamClient`, :ref:`ParallaxBackground` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Node` | :ref:`custom_viewport` | | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`bool` | :ref:`follow_viewport_enabled` | ``false`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`follow_viewport_scale` | ``1.0`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`int` | :ref:`layer` | ``1`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Vector2` | :ref:`offset` | ``Vector2(0, 0)`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`float` | :ref:`rotation` | ``0.0`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Vector2` | :ref:`scale` | ``Vector2(1, 1)`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`Transform2D` | :ref:`transform` | ``Transform2D(1, 0, 0, 1, 0, 0)`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ | :ref:`bool` | :ref:`visible` | ``true`` | +---------------------------------------+------------------------------------------------------------------------------------+-----------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_canvas` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`Transform2D` | :ref:`get_final_transform` **(** **)** |const| | +---------------------------------------+----------------------------------------------------------------------------------------------+ | void | :ref:`hide` **(** **)** | +---------------------------------------+----------------------------------------------------------------------------------------------+ | void | :ref:`show` **(** **)** | +---------------------------------------+----------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_CanvasLayer_signal_visibility_changed: .. rst-class:: classref-signal **visibility_changed** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_CanvasLayer_property_custom_viewport: .. rst-class:: classref-property :ref:`Node` **custom_viewport** .. rst-class:: classref-property-setget - void **set_custom_viewport** **(** :ref:`Node` value **)** - :ref:`Node` **get_custom_viewport** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_follow_viewport_enabled: .. rst-class:: classref-property :ref:`bool` **follow_viewport_enabled** = ``false`` .. rst-class:: classref-property-setget - void **set_follow_viewport** **(** :ref:`bool` value **)** - :ref:`bool` **is_following_viewport** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_follow_viewport_scale: .. rst-class:: classref-property :ref:`float` **follow_viewport_scale** = ``1.0`` .. rst-class:: classref-property-setget - void **set_follow_viewport_scale** **(** :ref:`float` value **)** - :ref:`float` **get_follow_viewport_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_layer: .. rst-class:: classref-property :ref:`int` **layer** = ``1`` .. rst-class:: classref-property-setget - void **set_layer** **(** :ref:`int` value **)** - :ref:`int` **get_layer** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_offset: .. rst-class:: classref-property :ref:`Vector2` **offset** = ``Vector2(0, 0)`` .. rst-class:: classref-property-setget - void **set_offset** **(** :ref:`Vector2` value **)** - :ref:`Vector2` **get_offset** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_rotation: .. rst-class:: classref-property :ref:`float` **rotation** = ``0.0`` .. rst-class:: classref-property-setget - void **set_rotation** **(** :ref:`float` value **)** - :ref:`float` **get_rotation** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_scale: .. rst-class:: classref-property :ref:`Vector2` **scale** = ``Vector2(1, 1)`` .. rst-class:: classref-property-setget - void **set_scale** **(** :ref:`Vector2` value **)** - :ref:`Vector2` **get_scale** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_transform: .. rst-class:: classref-property :ref:`Transform2D` **transform** = ``Transform2D(1, 0, 0, 1, 0, 0)`` .. rst-class:: classref-property-setget - void **set_transform** **(** :ref:`Transform2D` value **)** - :ref:`Transform2D` **get_transform** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_property_visible: .. rst-class:: classref-property :ref:`bool` **visible** = ``true`` .. rst-class:: classref-property-setget - void **set_visible** **(** :ref:`bool` value **)** - :ref:`bool` **is_visible** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_CanvasLayer_method_get_canvas: .. rst-class:: classref-method :ref:`RID` **get_canvas** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_method_get_final_transform: .. rst-class:: classref-method :ref:`Transform2D` **get_final_transform** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_method_hide: .. rst-class:: classref-method void **hide** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CanvasLayer_method_show: .. rst-class:: classref-method void **show** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`