BulletCSharp.Impulse.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

Ejemplo n.º 1
0
 public void applyAImpulse(Impulse impulse)
 {
     BulletSoftBodyPINVOKE.Body_applyAImpulse(swigCPtr, Impulse.getCPtr(impulse));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
All Usage Examples Of BulletCSharp.Impulse::getCPtr