public VtValue(GfVec4f obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_20(GfVec4f.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfMatrix4f(GfVec4f v) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_3(GfVec4f.getCPtr(v)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtVec4fArray(uint n, GfVec4f value) : this(UsdCsPINVOKE.new_VtVec4fArray__SWIG_4(n, GfVec4f.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec4d(GfVec4f other) : this(UsdCsPINVOKE.new_GfVec4d__SWIG_4(GfVec4f.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfVec4f value) { UsdCsPINVOKE.VtVec4fArray_SetValue(swigCPtr, index, GfVec4f.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfVec4f elem) { UsdCsPINVOKE.VtVec4fArray_push_back(swigCPtr, GfVec4f.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfVec4f fill) { UsdCsPINVOKE.VtVec4fArray_assign(swigCPtr, n, GfVec4f.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetColumn(int i, GfVec4f v) { UsdCsPINVOKE.GfMatrix4f_SetColumn(swigCPtr, i, GfVec4f.getCPtr(v)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfVec4f GetComplement(GfVec4f b) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_GetComplement(swigCPtr, GfVec4f.getCPtr(b)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetDiagonal(GfVec4f arg0) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetDiagonal__SWIG_1(swigCPtr, GfVec4f.getCPtr(arg0)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(GfVec4f lhs, GfVec4f rhs) { bool ret = UsdCsPINVOKE.GfVec4f_Equals(GfVec4f.getCPtr(lhs), GfVec4f.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfVec4f GetProjection(GfVec4f v) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_GetProjection(swigCPtr, GfVec4f.getCPtr(v)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfVec4f lhs, GfVec4f rhs) { // The Swig binding glue will re-enter this operator comparing to null, so // that case must be handled explicitly to avoid an infinite loop. This is still // not great, since it crosses the C#/C++ barrier twice. A better approache might // be to return a simple value from C++ that can be compared in C#. bool lnull = lhs as object == null; bool rnull = rhs as object == null; return((lnull == rnull) && ((lnull && rnull) || GfVec4f.Equals(lhs, rhs))); }
public GfVec4f GetColumn(int i) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfMatrix4f_GetColumn(swigCPtr, i), true); return(ret); }
static public UnityEngine.Vector4 Vec4fToVector4(GfVec4f v4) { return(new UnityEngine.Vector4(v4[0], v4[1], v4[2], v4[3])); }
public VtVec4fArray(Vt_ArrayForeignDataSource foreignSrc, GfVec4f data, uint size) : this(UsdCsPINVOKE.new_VtVec4fArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfVec4f.getCPtr(data), size), true) { }
public static GfVec4f YAxis() { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_YAxis(), true); return(ret); }
override public bool Equals(object rhs) { return(GfVec4f.Equals(this, rhs as GfVec4f)); }
public static GfVec4f Axis(uint i) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_Axis(i), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfVec4f obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public GfVec4f GetNormalized() { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_GetNormalized__SWIG_1(swigCPtr), true); return(ret); }
public GfVec4f GetNormalized(float eps) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_GetNormalized__SWIG_0(swigCPtr, eps), true); return(ret); }
static public UnityEngine.Color32 Vec4fToColor32(GfVec4f v) { return(Vec4fToColor(v)); }
public GfVec4f Set(float s0, float s1, float s2, float s3) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.GfVec4f_Set(swigCPtr, s0, s1, s2, s3), false); return(ret); }
static public UnityEngine.Color Vec4fToColor(GfVec4f v) { return(new UnityEngine.Color(v[0], v[1], v[2], v[3])); }
static public UnityEngine.Rect Vec4fToRect(GfVec4f v4) { return(new UnityEngine.Rect(v4[0], v4[1], v4[2], v4[3])); }
protected GfVec4f GetValue(int index) { GfVec4f ret = new GfVec4f(UsdCsPINVOKE.VtVec4fArray_GetValue(swigCPtr, index), false); return(ret); }