public FBXVector2(FBXVector2 other) : this(FBXImporterUnmanagedPINVOKE.new_FBXVector2__SWIG_2(FBXVector2.getCPtr(other)), true) { if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) { throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetVector2(string key, FBXVector2 value) { FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_SetVector2(swigCPtr, key, FBXVector2.getCPtr(value)); if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) { throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetUV(int layerIndex, int index, FBXVector2 value) { FBXImporterUnmanagedPINVOKE.FBXModelPtr_SetUV(swigCPtr, layerIndex, index, FBXVector2.getCPtr(value)); if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) { throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve(); } }
public FBXVector2 GetVector2(string key, FBXVector2 defaultValue) { FBXVector2 ret = new FBXVector2(FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_GetVector2__SWIG_0(swigCPtr, key, FBXVector2.getCPtr(defaultValue)), true); if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) { throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public FBXVector2 GetUV(int layerIndex, int index) { FBXVector2 ret = new FBXVector2(FBXImporterUnmanagedPINVOKE.FBXModel_GetUV(swigCPtr, layerIndex, index), true); return ret; }
public FBXVector2 GetVector2(string key) { FBXVector2 ret = new FBXVector2(FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_GetVector2__SWIG_1(swigCPtr, key), true); return(ret); }
static Vector2 FBXVector2ToUnityVector2(FBXVector2 v) { return(new Vector2(v.x, v.y)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FBXVector2 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }