public VtValue(GfQuatf obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_9(GfQuatf.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public GfMatrix3f(GfQuatf rot) : this(UsdCsPINVOKE.new_GfMatrix3f__SWIG_8(GfQuatf.getCPtr(rot)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtQuatfArray(uint n, GfQuatf value) : this(UsdCsPINVOKE.new_VtQuatfArray__SWIG_5(n, GfQuatf.getCPtr(value)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
static public UnityEngine.Quaternion QuatfToQuaternion(GfQuatf quat) { // See pxr/unity quaternion layout above. GfVec3f img = quat.GetImaginary(); return(new UnityEngine.Quaternion(img[0], img[1], img[2], quat.GetReal())); }
public GfQuatd(GfQuatf other) : this(UsdCsPINVOKE.new_GfQuatd__SWIG_4(GfQuatf.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void push_back(GfQuatf elem) { UsdCsPINVOKE.VtQuatfArray_push_back(swigCPtr, GfQuatf.getCPtr(elem)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
protected void SetValue(int index, GfQuatf value) { UsdCsPINVOKE.VtQuatfArray_SetValue(swigCPtr, index, GfQuatf.getCPtr(value)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void assign(uint n, GfQuatf fill) { UsdCsPINVOKE.VtQuatfArray_assign(swigCPtr, n, GfQuatf.getCPtr(fill)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(GfQuatf lhs, GfQuatf rhs) { bool ret = UsdCsPINVOKE.GfQuatf_Equals(GfQuatf.getCPtr(lhs), GfQuatf.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GfMatrix4f SetRotateOnly(GfQuatf rot) { GfMatrix4f ret = new GfMatrix4f(UsdCsPINVOKE.GfMatrix4f_SetRotateOnly__SWIG_0(swigCPtr, GfQuatf.getCPtr(rot)), false); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool operator==(GfQuatf lhs, GfQuatf 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) || GfQuatf.Equals(lhs, rhs))); }
public GfQuatf GetNormalized(float eps) { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.GfQuatf_GetNormalized__SWIG_0(swigCPtr, eps), true); return(ret); }
public static GfQuatf GetIdentity() { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.GfQuatf_GetIdentity(), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GfQuatf obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
override public bool Equals(object rhs) { return(GfQuatf.Equals(this, rhs as GfQuatf)); }
public GfQuatf GetInverse() { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.GfQuatf_GetInverse(swigCPtr), true); return(ret); }
public VtQuatfArray(Vt_ArrayForeignDataSource foreignSrc, GfQuatf data, uint size) : this(UsdCsPINVOKE.new_VtQuatfArray__SWIG_2(Vt_ArrayForeignDataSource.getCPtr(foreignSrc), GfQuatf.getCPtr(data), size), true) { }
protected GfQuatf GetValue(int index) { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.VtQuatfArray_GetValue(swigCPtr, index), false); return(ret); }
public GfQuatf ExtractRotationQuat() { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.GfMatrix4f_ExtractRotationQuat(swigCPtr), true); return(ret); }
public GfQuatf GetNormalized() { GfQuatf ret = new GfQuatf(UsdCsPINVOKE.GfQuatf_GetNormalized__SWIG_1(swigCPtr), true); return(ret); }