Пример #1
0
 /// <summary>Load the height field from a description. </summary>
 /// <param name="desc">The descriptor to load the object from.</param>
 public virtual bool loadFromDesc(NxHeightFieldDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxHeightField_loadFromDesc_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef)));
 }
Пример #2
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))));
 }
Пример #3
0
 private bool loadFromDesc_virtual(IntPtr desc)
 {
     return(loadFromDesc(NxHeightFieldDesc.GetClass(desc)));
 }
Пример #4
0
 private bool saveToDesc_virtual(IntPtr desc)
 {
     return(saveToDesc(NxHeightFieldDesc.GetClass(desc)));
 }
Пример #5
0
 private IntPtr createHeightField_virtual(IntPtr desc)
 {
     return(createHeightField(NxHeightFieldDesc.GetClass(desc)).ClassPointer.Handle);
 }