/// <summary>Releases a controller. </summary> /// <param name="controller">The controller to release.</param> public virtual void releaseController(NxController controller) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } NxControllerManager_releaseController_INVOKE(ClassPointer, doSetFunctionPointers, (controller != null ? controller.ClassPointer : NullRef)); }
/// <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)))); }
/// <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))); }
/// <summary></summary> public void releaseController(NxController controller) { ControllerManager_releaseController_INVOKE(ClassPointer, doSetFunctionPointers, (controller != null ? controller.ClassPointer : NullRef)); }
/// <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)))); }
/// <summary></summary> public NxController getController(uint index) { return(NxController.GetClass(ControllerManager_getController_INVOKE(ClassPointer, doSetFunctionPointers, index))); }
private void releaseController_virtual(IntPtr controller) { releaseController(NxController.GetClass(controller)); }