Delegate NavigationAgent2D.VelocityComputedEventHandler
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Represents the method that handles the VelocityComputed event of a NavigationAgent2D class.
public delegate void NavigationAgent2D.VelocityComputedEventHandler(Vector2 safeVelocity)
Parameters
safeVelocity
Vector2- Represents the method that handles the event of a class.
Constructors
VelocityComputedEventHandler(object, IntPtr)
public VelocityComputedEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(Vector2, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Vector2 safeVelocity, AsyncCallback callback, object @object)
Parameters
safeVelocity
Vector2callback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(Vector2)
public virtual void Invoke(Vector2 safeVelocity)
Parameters
safeVelocity
Vector2