Beispiel #1
0
 public void _mergeSkeletonAnimations(Skeleton source, SWIGTYPE_p_std__vectorT_unsigned_short_t boneHandleMap)
 {
     OgrePINVOKE.SkeletonPtr__mergeSkeletonAnimations__SWIG_1(swigCPtr, Skeleton.getCPtr(source), SWIGTYPE_p_std__vectorT_unsigned_short_t.getCPtr(boneHandleMap));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void _buildMapBoneByName(Skeleton source, SWIGTYPE_p_std__vectorT_unsigned_short_t boneHandleMap)
 {
     OgrePINVOKE.SkeletonPtr__buildMapBoneByName(swigCPtr, Skeleton.getCPtr(source), SWIGTYPE_p_std__vectorT_unsigned_short_t.getCPtr(boneHandleMap));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SWIGTYPE_p_std__vectorT_unsigned_short_t _getIndexToBoneMap()
        {
            global::System.IntPtr cPtr = OgrePINVOKE.InstanceBatch__getIndexToBoneMap(swigCPtr);
            SWIGTYPE_p_std__vectorT_unsigned_short_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__vectorT_unsigned_short_t(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #4
0
 public static void prepareMatricesForVertexBlend(SWIGTYPE_p_p_Ogre__Affine3 blendMatrices, Affine3 boneMatrices, SWIGTYPE_p_std__vectorT_unsigned_short_t indexMap)
 {
     OgrePINVOKE.Mesh_prepareMatricesForVertexBlend(SWIGTYPE_p_p_Ogre__Affine3.getCPtr(blendMatrices), Affine3.getCPtr(boneMatrices), SWIGTYPE_p_std__vectorT_unsigned_short_t.getCPtr(indexMap));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_unsigned_short_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }