BulletCSharp.RayResultCallback.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( RayResultCallback obj ) : HandleRef
obj RayResultCallback
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(RayResultCallback obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

 public static void rayTestSingle(SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, SWIGTYPE_p_btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, RayResultCallback resultCallback)
 {
     BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_rayTestSingle(SWIGTYPE_p_btTransform.getCPtr(rayFromTrans), SWIGTYPE_p_btTransform.getCPtr(rayToTrans), SWIGTYPE_p_btCollisionObject.getCPtr(collisionObject), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btTransform.getCPtr(colObjWorldTransform), RayResultCallback.getCPtr(resultCallback));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
All Usage Examples Of BulletCSharp.RayResultCallback::getCPtr