コード例 #1
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))));
 }
コード例 #2
0
ファイル: ControllerManager.cs プロジェクト: d3x0r/xperdex
 /// <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))));
 }
コード例 #3
0
 private IntPtr createController_virtual(IntPtr scene, IntPtr desc)
 {
     return(createController(NxScene.GetClass(scene), NxControllerDesc.GetClass(desc)).ClassPointer.Handle);
 }