RaycastCallback

class RaycastCallback : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable

A delegate for raycasting.

public bool Invoke(RigidBody body, JVector normal, float fraction)
Parameters:
  • body (Jitter.Dynamics.RigidBody) –
  • normal (Jitter.LinearMath.JVector) –
  • fraction (float) –
public System.IAsyncResult BeginInvoke(RigidBody body, JVector normal, float fraction, System.AsyncCallback callback, System.Object object)
Parameters:
  • body (Jitter.Dynamics.RigidBody) –
  • normal (Jitter.LinearMath.JVector) –
  • fraction (float) –
  • callback (System.AsyncCallback) –
  • object (System.Object) –
public bool EndInvoke(System.IAsyncResult result)
Parameters:
  • result (System.IAsyncResult) –