コード例 #1
0
ファイル: SkeletonPtr.cs プロジェクト: wellsanin1/Game-Engine
        public Animation _getAnimationImpl(string name, SWIGTYPE_p_p_Ogre__LinkedSkeletonAnimationSource linker)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.SkeletonPtr__getAnimationImpl__SWIG_0(swigCPtr, name, SWIGTYPE_p_p_Ogre__LinkedSkeletonAnimationSource.getCPtr(linker));
            Animation             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Animation(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_Ogre__LinkedSkeletonAnimationSource obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }