BulletCSharp.SWIGTYPE_p_float.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

コード例 #1
0
 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