public void setVolumes(SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t volumes)
 {
     OgrePINVOKE.PlaneBoundedVolumeListSceneQuery_setVolumes(swigCPtr, SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t.getCPtr(volumes));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t getVolumes()
        {
            SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t ret = new SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t(OgrePINVOKE.PlaneBoundedVolumeListSceneQuery_getVolumes(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
        public virtual SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t _getFrustumClipVolumes(Camera cam)
        {
            SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t ret = new SWIGTYPE_p_std__vectorT_Ogre__PlaneBoundedVolume_t(OgrePINVOKE.Light__getFrustumClipVolumes(swigCPtr, Camera.getCPtr(cam)), false);

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