Click or drag to resize

AStar_EstimateCost Method

Called when estimating the cost between a point and the path's ending point.

Note that this function is hidden in the default AStar class.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public virtual float _EstimateCost(
	int fromId,
	int toId
)

Parameters

fromId
Type: SystemInt32

[Missing <param name="fromId"/> documentation for "M:Godot.AStar._EstimateCost(System.Int32,System.Int32)"]

toId
Type: SystemInt32

[Missing <param name="toId"/> documentation for "M:Godot.AStar._EstimateCost(System.Int32,System.Int32)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.AStar._EstimateCost(System.Int32,System.Int32)"]

See Also