示例#1
0
 public void _setCustomParam(InstancedEntity instancedEntity, byte idx, Vector4 newParam)
 {
     OgrePINVOKE.InstanceBatch__setCustomParam(swigCPtr, InstancedEntity.getCPtr(instancedEntity), idx, Vector4.getCPtr(newParam));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void removeInstancedEntity(InstancedEntity instancedEntity)
 {
     OgrePINVOKE.InstanceBatch_removeInstancedEntity(swigCPtr, InstancedEntity.getCPtr(instancedEntity));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
        public bool shareTransformWith(InstancedEntity slave)
        {
            bool ret = OgrePINVOKE.InstancedEntity_shareTransformWith(swigCPtr, InstancedEntity.getCPtr(slave));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
        public Vector4 _getCustomParam(InstancedEntity instancedEntity, byte idx)
        {
            Vector4 ret = new Vector4(OgrePINVOKE.InstanceBatch__getCustomParam(swigCPtr, InstancedEntity.getCPtr(instancedEntity), idx), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
 public InstancedEntity(InstanceBatch batchOwner, uint instanceID, InstancedEntity sharedTransformEntity) : this(OgrePINVOKE.new_InstancedEntity__SWIG_0(InstanceBatch.getCPtr(batchOwner), instanceID, InstancedEntity.getCPtr(sharedTransformEntity)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }