Пример #1
0
        public SWIGTYPE_p_Ogre__ControllerValueT_float_t __deref__()
        {
            global::System.IntPtr cPtr = OgrePINVOKE.ControllerValueRealPtr___deref__(swigCPtr);
            SWIGTYPE_p_Ogre__ControllerValueT_float_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__ControllerValueT_float_t(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__ControllerValueT_float_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }