示例#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);
 }
示例#2
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);
 }
示例#3
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);
 }
示例#4
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);
 }