Table of Contents

Delegate CollisionObject2D.InputEventEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the InputEvent event of a CollisionObject2D class.

public delegate void CollisionObject2D.InputEventEventHandler(Node viewport, InputEvent @event, long shapeIdx)

Parameters

viewport Node
Represents the method that handles the event of a class.
event InputEvent
Represents the method that handles the event of a class.
shapeIdx long
Represents the method that handles the event of a class.

Constructors

InputEventEventHandler(object, IntPtr)

public InputEventEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

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

public virtual IAsyncResult BeginInvoke(Node viewport, InputEvent @event, long shapeIdx, AsyncCallback callback, object @object)

Parameters

viewport Node
event InputEvent
shapeIdx long
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(Node, InputEvent, long)

public virtual void Invoke(Node viewport, InputEvent @event, long shapeIdx)

Parameters

viewport Node
event InputEvent
shapeIdx long