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
viewportNode- Represents the method that handles the event of a class.
eventInputEvent- Represents the method that handles the event of a class.
shapeIdxlong- Represents the method that handles the event of a class.
Constructors
InputEventEventHandler(object, IntPtr)
public InputEventEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(Node, InputEvent, long, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Node viewport, InputEvent @event, long shapeIdx, AsyncCallback callback, object @object)
Parameters
viewportNodeeventInputEventshapeIdxlongcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(Node, InputEvent, long)
public virtual void Invoke(Node viewport, InputEvent @event, long shapeIdx)
Parameters
viewportNodeeventInputEventshapeIdxlong