/// <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></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)))); }
private IntPtr createController_virtual(IntPtr scene, IntPtr desc) { return(createController(NxScene.GetClass(scene), NxControllerDesc.GetClass(desc)).ClassPointer.Handle); }