.. 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/Resource.xml. .. _class_Resource: Resource ======== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`Animation`, :ref:`AnimationLibrary`, :ref:`AnimationNode`, :ref:`AnimationNodeStateMachinePlayback`, :ref:`AnimationNodeStateMachineTransition`, :ref:`AudioBusLayout`, :ref:`AudioEffect`, :ref:`AudioStream`, :ref:`BitMap`, :ref:`BoneMap`, :ref:`ButtonGroup`, :ref:`CameraAttributes`, :ref:`Compositor`, :ref:`CompositorEffect`, :ref:`CryptoKey`, :ref:`Curve`, :ref:`Curve2D`, :ref:`Curve3D`, :ref:`EditorNode3DGizmoPlugin`, :ref:`EditorSettings`, :ref:`Environment`, :ref:`Font`, :ref:`GDExtension`, :ref:`GLTFAccessor`, :ref:`GLTFAnimation`, :ref:`GLTFBufferView`, :ref:`GLTFCamera`, :ref:`GLTFDocument`, :ref:`GLTFDocumentExtension`, :ref:`GLTFLight`, :ref:`GLTFMesh`, :ref:`GLTFNode`, :ref:`GLTFPhysicsBody`, :ref:`GLTFPhysicsShape`, :ref:`GLTFSkeleton`, :ref:`GLTFSkin`, :ref:`GLTFSpecGloss`, :ref:`GLTFState`, :ref:`GLTFTexture`, :ref:`GLTFTextureSampler`, :ref:`Gradient`, :ref:`Image`, :ref:`ImporterMesh`, :ref:`InputEvent`, :ref:`JSON`, :ref:`LabelSettings`, :ref:`LightmapGIData`, :ref:`Material`, :ref:`Mesh`, :ref:`MeshLibrary`, :ref:`MissingResource`, :ref:`MultiMesh`, :ref:`NavigationMesh`, :ref:`NavigationMeshSourceGeometryData2D`, :ref:`NavigationMeshSourceGeometryData3D`, :ref:`NavigationPolygon`, :ref:`Noise`, :ref:`Occluder3D`, :ref:`OccluderPolygon2D`, :ref:`OggPacketSequence`, :ref:`OpenXRAction`, :ref:`OpenXRActionMap`, :ref:`OpenXRActionSet`, :ref:`OpenXRInteractionProfile`, :ref:`OpenXRIPBinding`, :ref:`PackedDataContainer`, :ref:`PackedScene`, :ref:`PhysicsMaterial`, :ref:`PolygonPathFinder`, :ref:`RDShaderFile`, :ref:`RDShaderSPIRV`, :ref:`RichTextEffect`, :ref:`SceneReplicationConfig`, :ref:`Script`, :ref:`Shader`, :ref:`ShaderInclude`, :ref:`Shape2D`, :ref:`Shape3D`, :ref:`Shortcut`, :ref:`SkeletonModification2D`, :ref:`SkeletonModificationStack2D`, :ref:`SkeletonProfile`, :ref:`Skin`, :ref:`Sky`, :ref:`SpriteFrames`, :ref:`StyleBox`, :ref:`SyntaxHighlighter`, :ref:`Texture`, :ref:`Theme`, :ref:`TileMapPattern`, :ref:`TileSet`, :ref:`TileSetSource`, :ref:`Translation`, :ref:`VideoStream`, :ref:`VideoStreamPlayback`, :ref:`VisualShaderNode`, :ref:`VoxelGIData`, :ref:`World2D`, :ref:`World3D`, :ref:`X509Certificate` .. 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:`bool` | :ref:`resource_local_to_scene` | ``false`` | +-----------------------------+-----------------------------------------------------------------------------------+-----------+ | :ref:`String` | :ref:`resource_name` | ``""`` | +-----------------------------+-----------------------------------------------------------------------------------+-----------+ | :ref:`String` | :ref:`resource_path` | ``""`` | +-----------------------------+-----------------------------------------------------------------------------------+-----------+ | :ref:`String` | :ref:`resource_scene_unique_id` | | +-----------------------------+-----------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`_get_rid` **(** **)** |virtual| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_setup_local_to_scene` **(** **)** |virtual| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`Resource` | :ref:`duplicate` **(** :ref:`bool` subresources=false **)** |const| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | void | :ref:`emit_changed` **(** **)** | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`generate_scene_unique_id` **(** **)** |static| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`get_local_scene` **(** **)** |const| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_rid` **(** **)** |const| | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | void | :ref:`setup_local_to_scene` **(** **)** | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ | void | :ref:`take_over_path` **(** :ref:`String` path **)** | +---------------------------------+------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_Resource_signal_changed: .. rst-class:: classref-signal **changed** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_signal_setup_local_to_scene_requested: .. rst-class:: classref-signal **setup_local_to_scene_requested** **(** **)** .. 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_Resource_property_resource_local_to_scene: .. rst-class:: classref-property :ref:`bool` **resource_local_to_scene** = ``false`` .. rst-class:: classref-property-setget - void **set_local_to_scene** **(** :ref:`bool` value **)** - :ref:`bool` **is_local_to_scene** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_property_resource_name: .. rst-class:: classref-property :ref:`String` **resource_name** = ``""`` .. rst-class:: classref-property-setget - void **set_name** **(** :ref:`String` value **)** - :ref:`String` **get_name** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_property_resource_path: .. rst-class:: classref-property :ref:`String` **resource_path** = ``""`` .. rst-class:: classref-property-setget - void **set_path** **(** :ref:`String` value **)** - :ref:`String` **get_path** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_property_resource_scene_unique_id: .. rst-class:: classref-property :ref:`String` **resource_scene_unique_id** .. rst-class:: classref-property-setget - void **set_scene_unique_id** **(** :ref:`String` value **)** - :ref:`String` **get_scene_unique_id** **(** **)** .. 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_Resource_private_method__get_rid: .. rst-class:: classref-method :ref:`RID` **_get_rid** **(** **)** |virtual| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_private_method__setup_local_to_scene: .. rst-class:: classref-method void **_setup_local_to_scene** **(** **)** |virtual| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_duplicate: .. rst-class:: classref-method :ref:`Resource` **duplicate** **(** :ref:`bool` subresources=false **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_emit_changed: .. rst-class:: classref-method void **emit_changed** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_generate_scene_unique_id: .. rst-class:: classref-method :ref:`String` **generate_scene_unique_id** **(** **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_get_local_scene: .. rst-class:: classref-method :ref:`Node` **get_local_scene** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_get_rid: .. rst-class:: classref-method :ref:`RID` **get_rid** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_setup_local_to_scene: .. rst-class:: classref-method void **setup_local_to_scene** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Resource_method_take_over_path: .. rst-class:: classref-method void **take_over_path** **(** :ref:`String` path **)** .. 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.)`