FbxPropertyEWrapMode.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //------------------------------------------------------------------------------
  2. // <auto-generated />
  3. //
  4. // This file was automatically generated by SWIG (http://www.swig.org).
  5. // Version 3.0.12
  6. //
  7. // Do not make changes to this file unless you know what you are doing--modify
  8. // the SWIG interface file instead.
  9. //------------------------------------------------------------------------------
  10. namespace Autodesk.Fbx {
  11. public class FbxPropertyEWrapMode : FbxProperty {
  12. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  13. internal FbxPropertyEWrapMode(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NativeMethods.FbxPropertyEWrapMode_SWIGUpcast(cPtr), cMemoryOwn) {
  14. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  15. }
  16. internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxPropertyEWrapMode obj) {
  17. return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  18. }
  19. public override void Dispose() {
  20. lock(this) {
  21. if (swigCPtr.Handle != global::System.IntPtr.Zero) {
  22. if (swigCMemOwn) {
  23. swigCMemOwn = false;
  24. throw new global::System.MethodAccessException("C++ destructor does not have public access");
  25. }
  26. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
  27. }
  28. global::System.GC.SuppressFinalize(this);
  29. base.Dispose();
  30. }
  31. }
  32. public FbxPropertyEWrapMode Set(FbxTexture.EWrapMode pValue) {
  33. FbxPropertyEWrapMode ret = new FbxPropertyEWrapMode(NativeMethods.FbxPropertyEWrapMode_Set(swigCPtr, (int)pValue), false);
  34. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  35. return ret;
  36. }
  37. public FbxTexture.EWrapMode Get() {
  38. FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxPropertyEWrapMode_Get(swigCPtr);
  39. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  40. return ret;
  41. }
  42. public FbxTexture.EWrapMode EvaluateValue(FbxTime pTime, bool pForceEval) {
  43. FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxPropertyEWrapMode_EvaluateValue__SWIG_0(swigCPtr, FbxTime.getCPtr(pTime), pForceEval);
  44. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  45. return ret;
  46. }
  47. public FbxTexture.EWrapMode EvaluateValue(FbxTime pTime) {
  48. FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxPropertyEWrapMode_EvaluateValue__SWIG_1(swigCPtr, FbxTime.getCPtr(pTime));
  49. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  50. return ret;
  51. }
  52. public FbxTexture.EWrapMode EvaluateValue() {
  53. FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxPropertyEWrapMode_EvaluateValue__SWIG_2(swigCPtr);
  54. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  55. return ret;
  56. }
  57. }
  58. }