您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

94 行
2.7 KiB

  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.8
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. using System;
  9. using System.Runtime.InteropServices;
  10. public class aiMeshKey : IDisposable {
  11. private HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal aiMeshKey(IntPtr cPtr, bool cMemoryOwn) {
  14. swigCMemOwn = cMemoryOwn;
  15. swigCPtr = new HandleRef(this, cPtr);
  16. }
  17. internal static HandleRef getCPtr(aiMeshKey obj) {
  18. return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~aiMeshKey() {
  21. Dispose();
  22. }
  23. public virtual void Dispose() {
  24. lock(this) {
  25. if (swigCPtr.Handle != IntPtr.Zero) {
  26. if (swigCMemOwn) {
  27. swigCMemOwn = false;
  28. AssimpPINVOKE.delete_aiMeshKey(swigCPtr);
  29. }
  30. swigCPtr = new HandleRef(null, IntPtr.Zero);
  31. }
  32. GC.SuppressFinalize(this);
  33. }
  34. }
  35. public double mTime {
  36. set {
  37. AssimpPINVOKE.aiMeshKey_mTime_set(swigCPtr, value);
  38. }
  39. get {
  40. double ret = AssimpPINVOKE.aiMeshKey_mTime_get(swigCPtr);
  41. return ret;
  42. }
  43. }
  44. public uint mValue {
  45. set {
  46. AssimpPINVOKE.aiMeshKey_mValue_set(swigCPtr, value);
  47. }
  48. get {
  49. uint ret = AssimpPINVOKE.aiMeshKey_mValue_get(swigCPtr);
  50. return ret;
  51. }
  52. }
  53. public aiMeshKey() : this(AssimpPINVOKE.new_aiMeshKey__SWIG_0(), true) {
  54. }
  55. public aiMeshKey(double time, uint value) : this(AssimpPINVOKE.new_aiMeshKey__SWIG_1(time, value), true) {
  56. }
  57. public bool __equal__(aiMeshKey o) {
  58. bool ret = AssimpPINVOKE.aiMeshKey___equal__(swigCPtr, aiMeshKey.getCPtr(o));
  59. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  60. return ret;
  61. }
  62. public bool __nequal__(aiMeshKey o) {
  63. bool ret = AssimpPINVOKE.aiMeshKey___nequal__(swigCPtr, aiMeshKey.getCPtr(o));
  64. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  65. return ret;
  66. }
  67. public bool __smaller__(aiMeshKey o) {
  68. bool ret = AssimpPINVOKE.aiMeshKey___smaller__(swigCPtr, aiMeshKey.getCPtr(o));
  69. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  70. return ret;
  71. }
  72. public bool __greater__(aiMeshKey o) {
  73. bool ret = AssimpPINVOKE.aiMeshKey___greater__(swigCPtr, aiMeshKey.getCPtr(o));
  74. if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
  75. return ret;
  76. }
  77. }