BulletCSharp.SWIGTYPE_p_float.getCPtr C# (CSharp) Метод

getCPtr() статический приватный Метод

static private getCPtr ( SWIGTYPE_p_float obj ) : HandleRef
obj SWIGTYPE_p_float
Результат System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(SWIGTYPE_p_float obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

 public static void btSwapScalarEndian(float sourceVal, SWIGTYPE_p_float destVal)
 {
     LinearMathPINVOKE.btSwapScalarEndian(sourceVal, SWIGTYPE_p_float.getCPtr(destVal));
     if (LinearMathPINVOKE.SWIGPendingException.Pending)
     {
         throw LinearMathPINVOKE.SWIGPendingException.Retrieve();
     }
 }
All Usage Examples Of BulletCSharp.SWIGTYPE_p_float::getCPtr