Ejemplo n.º 1
0
 /// <summary>Retrieve one of the controllers in the manager. </summary>
 /// <param name="index">the index of the controller to return </param>
 public virtual NxController getController(uint index)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxController.GetClass(NxControllerManager_getController_INVOKE(ClassPointer, doSetFunctionPointers, index)));
 }
Ejemplo n.º 2
0
 /// <summary>Creates a new character controller. </summary>
 /// <param name="scene">The scene that the controller will belong to. </param>
 /// <param name="desc">The controllers descriptor </param>
 public virtual NxController createController(NxScene scene, NxControllerDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxController.GetClass(NxControllerManager_createController_INVOKE(ClassPointer, doSetFunctionPointers, (scene != null ? scene.ClassPointer : NullRef), (desc != null ? desc.ClassPointer : NullRef))));
 }
Ejemplo n.º 3
0
 /// <summary></summary>
 public NxController createController(NxScene scene, NxControllerDesc desc)
 {
     return(NxController.GetClass(ControllerManager_createController_INVOKE(ClassPointer, doSetFunctionPointers, (scene != null ? scene.ClassPointer : NullRef), (desc != null ? desc.ClassPointer : NullRef))));
 }
Ejemplo n.º 4
0
 /// <summary></summary>
 public NxController getController(uint index)
 {
     return(NxController.GetClass(ControllerManager_getController_INVOKE(ClassPointer, doSetFunctionPointers, index)));
 }
Ejemplo n.º 5
0
 private void releaseController_virtual(IntPtr controller)
 {
     releaseController(NxController.GetClass(controller));
 }