AStar2DSetPointWeightScale Method |
Sets the weight_scale for the point with the given id. The weight_scale is multiplied by the result of _ComputeCost(Int32, Int32) when determining the overall cost of traveling across a segment from a neighboring point to this point.
Namespace: Godot
public void SetPointWeightScale( int id, float weightScale )
[Missing <param name="id"/> documentation for "M:Godot.AStar2D.SetPointWeightScale(System.Int32,System.Single)"]
[Missing <param name="weightScale"/> documentation for "M:Godot.AStar2D.SetPointWeightScale(System.Int32,System.Single)"]