BulletCSharp.SWIGTYPE_p_btWheelInfo.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

        public float rayCast(SWIGTYPE_p_btWheelInfo wheel)
        {
            float ret = BulletDynamicsPINVOKE.btRaycastVehicle_rayCast(swigCPtr, SWIGTYPE_p_btWheelInfo.getCPtr(wheel));

            if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
All Usage Examples Of BulletCSharp.SWIGTYPE_p_btWheelInfo::getCPtr
SWIGTYPE_p_btWheelInfo