Delegate Area2D.BodyShapeEnteredEventHandler
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Represents the method that handles the BodyShapeEntered event of a Area2D class.
public delegate void Area2D.BodyShapeEnteredEventHandler(Rid bodyRid, Node2D body, long bodyShapeIndex, long localShapeIndex)
Parameters
bodyRid
Rid- Represents the method that handles the event of a class.
body
Node2D- Represents the method that handles the event of a class.
bodyShapeIndex
long- Represents the method that handles the event of a class.
localShapeIndex
long- Represents the method that handles the event of a class.
Constructors
BodyShapeEnteredEventHandler(object, IntPtr)
public BodyShapeEnteredEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(Rid, Node2D, long, long, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Rid bodyRid, Node2D body, long bodyShapeIndex, long localShapeIndex, AsyncCallback callback, object @object)
Parameters
bodyRid
Ridbody
Node2DbodyShapeIndex
longlocalShapeIndex
longcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(Rid, Node2D, long, long)
public virtual void Invoke(Rid bodyRid, Node2D body, long bodyShapeIndex, long localShapeIndex)