doc: Add default values to all properties
Thanks to @bojidar-bg's impressive work in #29380.
This commit is contained in:
@@ -59,13 +59,13 @@
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene">
|
||||
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" default="false">
|
||||
If [code]true[/code], the resource will be made unique in each instance of its local scene. It can thus be modified in a scene instance without impacting other instances of that same scene.
|
||||
</member>
|
||||
<member name="resource_name" type="String" setter="set_name" getter="get_name">
|
||||
<member name="resource_name" type="String" setter="set_name" getter="get_name" default="""">
|
||||
The name of the resource. This is an optional identifier.
|
||||
</member>
|
||||
<member name="resource_path" type="String" setter="set_path" getter="get_path">
|
||||
<member name="resource_path" type="String" setter="set_path" getter="get_path" default="""">
|
||||
The path to the resource. In case it has its own file, it will return its filepath. If it's tied to the scene, it will return the scene's path, followed by the resource's index.
|
||||
</member>
|
||||
</members>
|
||||
|
||||
Reference in New Issue
Block a user