Пример #1
0
 /// <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
 /// <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
 /// <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
 private void releaseHeightField_virtual(IntPtr heightField)
 {
     releaseHeightField(NxHeightField.GetClass(heightField));
 }