コード例 #1
0
ファイル: NxHeightFieldShape.cs プロジェクト: d3x0r/xperdex
 /// <summary>Retrieves the height field data associated with this instance. </summary>
 public virtual NxHeightField getHeightField()
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxHeightField.GetClass(NxHeightFieldShape_getHeightField_INVOKE(ClassPointer, doSetFunctionPointers)));
 }
コード例 #2
0
ファイル: NxPhysicsSDK.cs プロジェクト: d3x0r/xperdex
 /// <summary>Destroys the instance passed. </summary>
 /// <param name="heightField">The height field to release.</param>
 public virtual void releaseHeightField(NxHeightField heightField)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxPhysicsSDK_releaseHeightField_INVOKE(ClassPointer, doSetFunctionPointers, (heightField != null ? heightField.ClassPointer : NullRef));
 }
コード例 #3
0
ファイル: NxPhysicsSDK.cs プロジェクト: d3x0r/xperdex
 /// <summary>Creates a NxHeightField object. </summary>
 /// <param name="desc">The descriptor to load the object from. </param>
 public virtual NxHeightField createHeightField(NxHeightFieldDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxHeightField.GetClass(NxPhysicsSDK_createHeightField_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef))));
 }
コード例 #4
0
ファイル: NxPhysicsSDK.cs プロジェクト: d3x0r/xperdex
 private void releaseHeightField_virtual(IntPtr heightField)
 {
     releaseHeightField(NxHeightField.GetClass(heightField));
 }