/// <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))); }
/// <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)); }
/// <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)))); }
private void releaseHeightField_virtual(IntPtr heightField) { releaseHeightField(NxHeightField.GetClass(heightField)); }