Esempio n. 1
0
 public void freeTagPoint(SWIGTYPE_p_Ogre__TagPoint tagPoint)
 {
     OgrePINVOKE.SkeletonInstance_freeTagPoint(swigCPtr, SWIGTYPE_p_Ogre__TagPoint.getCPtr(tagPoint));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public SWIGTYPE_p_Ogre__TagPoint createTagPointOnBone(Bone bone)
        {
            global::System.IntPtr     cPtr = OgrePINVOKE.SkeletonInstance_createTagPointOnBone__SWIG_2(swigCPtr, Bone.getCPtr(bone));
            SWIGTYPE_p_Ogre__TagPoint ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__TagPoint(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public SWIGTYPE_p_Ogre__TagPoint attachObjectToBone(string boneName, MovableObject pMovable)
        {
            global::System.IntPtr     cPtr = OgrePINVOKE.Entity_attachObjectToBone__SWIG_2(swigCPtr, boneName, MovableObject.getCPtr(pMovable));
            SWIGTYPE_p_Ogre__TagPoint ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__TagPoint(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public SWIGTYPE_p_Ogre__TagPoint createTagPointOnBone(Bone bone, Quaternion offsetOrientation, Vector3 offsetPosition)
        {
            global::System.IntPtr     cPtr = OgrePINVOKE.SkeletonInstance_createTagPointOnBone__SWIG_0(swigCPtr, Bone.getCPtr(bone), Quaternion.getCPtr(offsetOrientation), Vector3.getCPtr(offsetPosition));
            SWIGTYPE_p_Ogre__TagPoint ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__TagPoint(cPtr, false);

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