/// <summary>Retrieves the scene which this kernel belongs to. </summary> public virtual NxScene getScene() { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxScene.GetClass(NxForceFieldLinearKernel_getScene_INVOKE(ClassPointer, doSetFunctionPointers))); }
// protected internal string sceneIdentifier; public PhysXScene(string _sceneIdentifier) { //sceneIdentifier = _sceneIdentifier; mySdk = NxPhysicsSDK.CreateSDK(); m_log.Info("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
// protected internal string sceneIdentifier; public PhysXScene(string _sceneIdentifier) { //sceneIdentifier = _sceneIdentifier; mySdk = NxPhysicsSDK.CreateSDK(); m_log.Info("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
// protected internal string sceneIdentifier; public PhysXScene(string _sceneIdentifier) { //sceneIdentifier = _sceneIdentifier; mySdk = NxPhysicsSDK.CreateSDK(); MainConsole.Instance.Info("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
// protected internal string sceneIdentifier; public PhysXScene(string _sceneIdentifier) { //sceneIdentifier = _sceneIdentifier; mySdk = NxPhysicsSDK.CreateSDK(); MainConsole.Instance.Info("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
/// <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>Retrieves pointer to created scenes. </summary> /// <param name="i">The index for the scene. </param> public virtual NxScene getScene(uint i) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxScene.GetClass(NxPhysicsSDK_getScene_INVOKE(ClassPointer, doSetFunctionPointers, i))); }
/// <summary>Deletes the instance passed. </summary> /// <param name="scene">The scene to release.</param> public virtual void releaseScene(NxScene scene) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } NxPhysicsSDK_releaseScene_INVOKE(ClassPointer, doSetFunctionPointers, (scene != null ? scene.ClassPointer : NullRef)); }
/// <summary>Creates a scene. </summary> /// <param name="sceneDesc">Scene descriptor. See NxSceneDesc</param> public virtual NxScene createScene(NxSceneDesc sceneDesc) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxScene.GetClass(NxPhysicsSDK_createScene_INVOKE(ClassPointer, doSetFunctionPointers, (sceneDesc != null ? sceneDesc.ClassPointer : NullRef)))); }
// protected internal string sceneIdentifier; public PhysXScene(string _sceneIdentifier) { throw new NotImplementedException(); //sceneIdentifier = _sceneIdentifier; mySdk = NxPhysicsSDK.CreateSDK(); m_log.Info("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
public PhysXScene() { mySdk = NxPhysicsSDK.CreateSDK(); Console.WriteLine("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
/// <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)))); }
public PhysXScene() { mySdk = NxPhysicsSDK.CreateSDK(); Console.WriteLine("Sdk created - now creating scene"); scene = mySdk.CreateScene(); }
private IntPtr createController_virtual(IntPtr scene, IntPtr desc) { return(createController(NxScene.GetClass(scene), NxControllerDesc.GetClass(desc)).ClassPointer.Handle); }
private void releaseScene_virtual(IntPtr scene) { releaseScene(NxScene.GetClass(scene)); }