예제 #1
0
 public virtual void buildFrom(SubMesh baseSubMesh, RenderOperation renderOperation)
 {
     OgrePINVOKE.InstanceBatch_buildFrom(swigCPtr, SubMesh.getCPtr(baseSubMesh), RenderOperation.getCPtr(renderOperation));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public virtual uint calculateMaxNumInstances(SubMesh baseSubMesh, ushort flags)
        {
            uint ret = OgrePINVOKE.InstanceBatch_calculateMaxNumInstances(swigCPtr, SubMesh.getCPtr(baseSubMesh), flags);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public virtual RenderOperation build(SubMesh baseSubMesh)
        {
            RenderOperation ret = new RenderOperation(OgrePINVOKE.InstanceBatch_build(swigCPtr, SubMesh.getCPtr(baseSubMesh)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
 public void convertToSubMesh(SubMesh sm)
 {
     OgrePINVOKE.ManualObject_ManualObjectSection_convertToSubMesh(swigCPtr, SubMesh.getCPtr(sm));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }