예제 #1
0
 public void findLights(SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t destList, float radius)
 {
     OgrePINVOKE.SceneNode_findLights__SWIG_1(swigCPtr, SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t.getCPtr(destList), radius);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t getLights()
        {
            SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t ret = new SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t(OgrePINVOKE.InstanceBatch_getLights(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t queryLights()
        {
            SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t ret = new SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t(OgrePINVOKE.MovableObject_queryLights(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t getLights()
        {
            SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t ret = new SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t(OgreOverlayPINVOKE.OverlayElement_getLights(swigCPtr), false);

            if (OgreOverlayPINVOKE.SWIGPendingException.Pending)
            {
                throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t _getLightList()
        {
            global::System.IntPtr cPtr = OgrePINVOKE.MovableObject__getLightList(swigCPtr);
            SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
            public virtual SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t objectQueryLights(MovableObject arg0)
            {
                global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("objectQueryLights", swigMethodTypes5) ? OgrePINVOKE.MovableObject_Listener_objectQueryLightsSwigExplicitListener(swigCPtr, MovableObject.getCPtr(arg0)) : OgrePINVOKE.MovableObject_Listener_objectQueryLights(swigCPtr, MovableObject.getCPtr(arg0)));
                SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t(cPtr, false);

                if (OgrePINVOKE.SWIGPendingException.Pending)
                {
                    throw OgrePINVOKE.SWIGPendingException.Retrieve();
                }
                return(ret);
            }
예제 #7
0
 public override void updateGpuProgramsParams(Renderable rend, Pass pass, SWIGTYPE_p_Ogre__AutoParamDataSource source, SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t pLightList)
 {
     RTShaderPINVOKE.NormalMapLighting_updateGpuProgramsParams(swigCPtr, Renderable.getCPtr(rend), Pass.getCPtr(pass), SWIGTYPE_p_Ogre__AutoParamDataSource.getCPtr(source), SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t.getCPtr(pLightList));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public virtual void notifyRenderSingleObject(Renderable rend, Pass pass, SWIGTYPE_p_Ogre__AutoParamDataSource source, SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t pLightList, bool suppressRenderStateChanges)
 {
     OgrePINVOKE.RenderObjectListener_notifyRenderSingleObject(swigCPtr, Renderable.getCPtr(rend), Pass.getCPtr(pass), SWIGTYPE_p_Ogre__AutoParamDataSource.getCPtr(source), SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t.getCPtr(pLightList), suppressRenderStateChanges);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #10
0
 private global::System.IntPtr SwigDirectorobjectQueryLights(global::System.IntPtr arg0)
 {
     return(SWIGTYPE_p_Ogre__HashedVectorT_Ogre__Light_p_t.getCPtr(objectQueryLights((arg0 == global::System.IntPtr.Zero) ? null : new MovableObject(arg0, false))).Handle);
 }