Ejemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("objectDestroyed", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectorobjectDestroyed);
     }
     if (SwigDerivedClassHasMethod("objectAttached", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectorobjectAttached);
     }
     if (SwigDerivedClassHasMethod("objectDetached", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectorobjectDetached);
     }
     if (SwigDerivedClassHasMethod("objectMoved", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateListener_3(SwigDirectorobjectMoved);
     }
     if (SwigDerivedClassHasMethod("objectRendering", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateListener_4(SwigDirectorobjectRendering);
     }
     if (SwigDerivedClassHasMethod("objectQueryLights", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateListener_5(SwigDirectorobjectQueryLights);
     }
     OgrePINVOKE.MovableObject_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5);
 }
Ejemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("cameraPreRenderScene", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectorcameraPreRenderScene);
     }
     if (SwigDerivedClassHasMethod("cameraPostRenderScene", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectorcameraPostRenderScene);
     }
     if (SwigDerivedClassHasMethod("cameraDestroyed", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectorcameraDestroyed);
     }
     OgrePINVOKE.Camera_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }
Ejemplo n.º 3
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("loadingComplete", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectorloadingComplete);
     }
     if (SwigDerivedClassHasMethod("preparingComplete", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectorpreparingComplete);
     }
     if (SwigDerivedClassHasMethod("unloadingComplete", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectorunloadingComplete);
     }
     OgrePINVOKE.Resource_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }
Ejemplo n.º 4
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("viewportCameraChanged", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectorviewportCameraChanged);
     }
     if (SwigDerivedClassHasMethod("viewportDimensionsChanged", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectorviewportDimensionsChanged);
     }
     if (SwigDerivedClassHasMethod("viewportDestroyed", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectorviewportDestroyed);
     }
     OgrePINVOKE.Viewport_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }
Ejemplo n.º 5
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("nodeUpdated", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectornodeUpdated);
     }
     if (SwigDerivedClassHasMethod("nodeDestroyed", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectornodeDestroyed);
     }
     if (SwigDerivedClassHasMethod("nodeAttached", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectornodeAttached);
     }
     if (SwigDerivedClassHasMethod("nodeDetached", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateListener_3(SwigDirectornodeDetached);
     }
     OgrePINVOKE.Node_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }
Ejemplo n.º 6
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("materialEventRaised", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectormaterialEventRaised);
     }
     if (SwigDerivedClassHasMethod("techniqueEventRaised", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectortechniqueEventRaised);
     }
     if (SwigDerivedClassHasMethod("passEventRaised", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectorpassEventRaised);
     }
     if (SwigDerivedClassHasMethod("textureUnitStateEventRaised", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateListener_3(SwigDirectortextureUnitStateEventRaised);
     }
     OgrePINVOKE.MaterialSerializer_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }
Ejemplo n.º 7
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("notifyMaterialSetup", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateListener_0(SwigDirectornotifyMaterialSetup);
     }
     if (SwigDerivedClassHasMethod("notifyMaterialRender", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateListener_1(SwigDirectornotifyMaterialRender);
     }
     if (SwigDerivedClassHasMethod("notifyResourcesCreated", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateListener_2(SwigDirectornotifyResourcesCreated);
     }
     if (SwigDerivedClassHasMethod("notifyResourcesReleased", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateListener_3(SwigDirectornotifyResourcesReleased);
     }
     OgrePINVOKE.CompositorInstance_Listener_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
 }