Пример #1
0
 public void setSetting(InstanceManager.BatchSettingId id, bool enabled)
 {
     OgrePINVOKE.InstanceManager_setSetting__SWIG_1(swigCPtr, (int)id, enabled);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public bool getSetting(InstanceManager.BatchSettingId id, string materialName)
        {
            bool ret = OgrePINVOKE.InstanceManager_getSetting(swigCPtr, (int)id, materialName);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }