FbxPropertyEBlendMode.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 FbxPropertyEBlendMode : FbxProperty {
  12. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  13. internal FbxPropertyEBlendMode(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NativeMethods.FbxPropertyEBlendMode_SWIGUpcast(cPtr), cMemoryOwn) {
  14. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  15. }
  16. internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FbxPropertyEBlendMode 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 FbxPropertyEBlendMode Set(FbxTexture.EBlendMode pValue) {
  33. FbxPropertyEBlendMode ret = new FbxPropertyEBlendMode(NativeMethods.FbxPropertyEBlendMode_Set(swigCPtr, (int)pValue), false);
  34. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  35. return ret;
  36. }
  37. public FbxTexture.EBlendMode Get() {
  38. FbxTexture.EBlendMode ret = (FbxTexture.EBlendMode)NativeMethods.FbxPropertyEBlendMode_Get(swigCPtr);
  39. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  40. return ret;
  41. }
  42. public FbxTexture.EBlendMode EvaluateValue(FbxTime pTime, bool pForceEval) {
  43. FbxTexture.EBlendMode ret = (FbxTexture.EBlendMode)NativeMethods.FbxPropertyEBlendMode_EvaluateValue__SWIG_0(swigCPtr, FbxTime.getCPtr(pTime), pForceEval);
  44. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  45. return ret;
  46. }
  47. public FbxTexture.EBlendMode EvaluateValue(FbxTime pTime) {
  48. FbxTexture.EBlendMode ret = (FbxTexture.EBlendMode)NativeMethods.FbxPropertyEBlendMode_EvaluateValue__SWIG_1(swigCPtr, FbxTime.getCPtr(pTime));
  49. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  50. return ret;
  51. }
  52. public FbxTexture.EBlendMode EvaluateValue() {
  53. FbxTexture.EBlendMode ret = (FbxTexture.EBlendMode)NativeMethods.FbxPropertyEBlendMode_EvaluateValue__SWIG_2(swigCPtr);
  54. if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
  55. return ret;
  56. }
  57. }
  58. }