BulletCSharp.SWIGTYPE_p_btDefaultCollisionConstructionInfo.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

Example #1
0
 public btSoftBodyRigidBodyCollisionConfiguration(SWIGTYPE_p_btDefaultCollisionConstructionInfo constructionInfo) : this(BulletSoftBodyPINVOKE.new_btSoftBodyRigidBodyCollisionConfiguration__SWIG_0(SWIGTYPE_p_btDefaultCollisionConstructionInfo.getCPtr(constructionInfo)), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
SWIGTYPE_p_btDefaultCollisionConstructionInfo