diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/AStar2D.xml | 24 | ||||
-rw-r--r-- | doc/classes/VisibilityEnabler.xml | 1 | ||||
-rw-r--r-- | doc/classes/VisibilityEnabler2D.xml | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/doc/classes/AStar2D.xml b/doc/classes/AStar2D.xml index 2639f62552..16fa05041e 100644 --- a/doc/classes/AStar2D.xml +++ b/doc/classes/AStar2D.xml @@ -9,6 +9,30 @@ <tutorials> </tutorials> <methods> + <method name="_compute_cost" qualifiers="virtual"> + <return type="float"> + </return> + <argument index="0" name="from_id" type="int"> + </argument> + <argument index="1" name="to_id" type="int"> + </argument> + <description> + Called when computing the cost between two connected points. + Note that this function is hidden in the default [code]AStar2D[/code] class. + </description> + </method> + <method name="_estimate_cost" qualifiers="virtual"> + <return type="float"> + </return> + <argument index="0" name="from_id" type="int"> + </argument> + <argument index="1" name="to_id" type="int"> + </argument> + <description> + Called when estimating the cost between a point and the path's ending point. + Note that this function is hidden in the default [code]AStar2D[/code] class. + </description> + </method> <method name="add_point"> <return type="void"> </return> diff --git a/doc/classes/VisibilityEnabler.xml b/doc/classes/VisibilityEnabler.xml index 82b952fda6..7ab6c52e6c 100644 --- a/doc/classes/VisibilityEnabler.xml +++ b/doc/classes/VisibilityEnabler.xml @@ -5,6 +5,7 @@ </brief_description> <description> The VisibilityEnabler will disable [RigidBody] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself. + Note that VisibilityEnabler will not affect nodes added after scene initialization. </description> <tutorials> </tutorials> diff --git a/doc/classes/VisibilityEnabler2D.xml b/doc/classes/VisibilityEnabler2D.xml index 98c3e5d78d..3f9bf6887a 100644 --- a/doc/classes/VisibilityEnabler2D.xml +++ b/doc/classes/VisibilityEnabler2D.xml @@ -5,6 +5,7 @@ </brief_description> <description> The VisibilityEnabler2D will disable [RigidBody2D], [AnimationPlayer], and other nodes when they are not visible. It will only affect nodes with the same root node as the VisibilityEnabler2D, and the root node itself. + Note that VisibilityEnabler2D will not affect nodes added after scene initialization. </description> <tutorials> </tutorials> |