diff options
Diffstat (limited to 'doc/classes/Spatial.xml')
-rw-r--r-- | doc/classes/Spatial.xml | 118 |
1 files changed, 5 insertions, 113 deletions
diff --git a/doc/classes/Spatial.xml b/doc/classes/Spatial.xml index 726654f91f..ea04192a5e 100644 --- a/doc/classes/Spatial.xml +++ b/doc/classes/Spatial.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="Spatial" inherits="Node" category="Core" version="3.0-alpha"> +<class name="Spatial" inherits="Node" category="Core" version="3.0-beta"> <brief_description> Most basic 3D game object, parent of all 3D related nodes. </brief_description> @@ -18,13 +18,6 @@ Returns the SpatialGizmo for this node. Used for example in [EditorSpatialGizmo] as custom visualization and editing handles in Editor. </description> </method> - <method name="get_global_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - Returns the global transform, relative to worldspace. - </description> - </method> <method name="get_parent_spatial" qualifiers="const"> <return type="Spatial"> </return> @@ -32,39 +25,6 @@ Returns the parent [code]Spatial[/code], or an empty [Object] if no parent exists or parent is not of type [code]Spatial[/code]. </description> </method> - <method name="get_rotation" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - Returns the rotation (in radians). - </description> - </method> - <method name="get_rotation_degrees" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - Returns the rotation (in degrees). - </description> - </method> - <method name="get_scale" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - Returns the local transform, relative to the bone parent. - </description> - </method> - <method name="get_translation" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> <method name="get_world" qualifiers="const"> <return type="World"> </return> @@ -120,13 +80,6 @@ Returns whether the node notifies about its global and local transformation changes. Spatial will not propagate this by default. </description> </method> - <method name="is_visible" qualifiers="const"> - <return type="bool"> - </return> - <description> - Returns whether the node is set to be visible. - </description> - </method> <method name="is_visible_in_tree" qualifiers="const"> <return type="bool"> </return> @@ -221,15 +174,6 @@ Set [SpatialGizmo] for this node. Used for example in [EditorSpatialGizmo] as custom visualization and editing handles in Editor. </description> </method> - <method name="set_global_transform"> - <return type="void"> - </return> - <argument index="0" name="global" type="Transform"> - </argument> - <description> - Set the transform globally, relative to world space. - </description> - </method> <method name="set_identity"> <return type="void"> </return> @@ -264,58 +208,6 @@ Set whether the node notifies about its global and local transformation changes. Spatial will not propagate this by default. </description> </method> - <method name="set_rotation"> - <return type="void"> - </return> - <argument index="0" name="radians" type="Vector3"> - </argument> - <description> - Set the rotation (in radians). - </description> - </method> - <method name="set_rotation_degrees"> - <return type="void"> - </return> - <argument index="0" name="degrees" type="Vector3"> - </argument> - <description> - Set the rotation (in degrees). - </description> - </method> - <method name="set_scale"> - <return type="void"> - </return> - <argument index="0" name="scale" type="Vector3"> - </argument> - <description> - Set the scale. - </description> - </method> - <method name="set_transform"> - <return type="void"> - </return> - <argument index="0" name="local" type="Transform"> - </argument> - <description> - Set the transform locally, relative to the parent spatial node. - </description> - </method> - <method name="set_translation"> - <return type="void"> - </return> - <argument index="0" name="translation" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="set_visible"> - <return type="void"> - </return> - <argument index="0" name="visible" type="bool"> - </argument> - <description> - </description> - </method> <method name="show"> <return type="void"> </return> @@ -389,17 +281,17 @@ </signal> </signals> <constants> - <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="29" enum=""> + <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="29"> Spatial nodes receives this notification when their global transform changes. This means that either the current or a parent node changed its transform. In order for NOTIFICATION_TRANSFORM_CHANGED to work user first needs to ask for it, with set_notify_transform(true). </constant> - <constant name="NOTIFICATION_ENTER_WORLD" value="41" enum=""> + <constant name="NOTIFICATION_ENTER_WORLD" value="41"> Spatial nodes receives this notification when they are registered to new [World] resource. </constant> - <constant name="NOTIFICATION_EXIT_WORLD" value="42" enum=""> + <constant name="NOTIFICATION_EXIT_WORLD" value="42"> Spatial nodes receives this notification when they are unregistered from current [World] resource. </constant> - <constant name="NOTIFICATION_VISIBILITY_CHANGED" value="43" enum=""> + <constant name="NOTIFICATION_VISIBILITY_CHANGED" value="43"> Spatial nodes receives this notification when their visibility changes. </constant> </constants> |