Table of Contents

Delegate RigidBody2D.BodyShapeEnteredEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the BodyShapeEntered event of a RigidBody2D class.

public delegate void RigidBody2D.BodyShapeEnteredEventHandler(Rid bodyRid, Node body, long bodyShapeIndex, long localShapeIndex)

Parameters

bodyRid Rid
Represents the method that handles the event of a class.
body Node
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

object object
method IntPtr

Methods

BeginInvoke(Rid, Node, long, long, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Rid bodyRid, Node body, long bodyShapeIndex, long localShapeIndex, AsyncCallback callback, object @object)

Parameters

bodyRid Rid
body Node
bodyShapeIndex long
localShapeIndex long
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(Rid, Node, long, long)

public virtual void Invoke(Rid bodyRid, Node body, long bodyShapeIndex, long localShapeIndex)

Parameters

bodyRid Rid
body Node
bodyShapeIndex long
localShapeIndex long