public VtValue(VtQuatfArray obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_35(VtQuatfArray.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void swap(VtQuatfArray other) { UsdCsPINVOKE.VtQuatfArray_swap(swigCPtr, VtQuatfArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool ComputeJointLocalTransformComponents(VtVec3fArray translations, VtQuatfArray rotations, VtVec3hArray scales, UsdTimeCode time) { bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_ComputeJointLocalTransformComponents__SWIG_0(swigCPtr, VtVec3fArray.getCPtr(translations), VtQuatfArray.getCPtr(rotations), VtVec3hArray.getCPtr(scales), UsdTimeCode.getCPtr(time)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(VtQuatfArray lhs, VtQuatfArray rhs) { bool ret = UsdCsPINVOKE.VtQuatfArray_Equals(VtQuatfArray.getCPtr(lhs), VtQuatfArray.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool IsIdentical(VtQuatfArray other) { bool ret = UsdCsPINVOKE.VtQuatfArray_IsIdentical(swigCPtr, VtQuatfArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
static public List <UnityEngine.Quaternion> ListFromVtArray(VtQuatfArray input) { var output = UsdIo.ArrayAllocator.Malloc <UnityEngine.Quaternion>(input.size()); unsafe { fixed(UnityEngine.Quaternion *p = output) { input.CopyToArray((IntPtr)p); } } // Swap real component for USD/Unity mis-match. SwapQuaternionReal(ref output); return(output.ToList()); }
static public VtQuatfArray ToVtArray(UnityEngine.Quaternion[] input) { SwapQuaternionReal(ref input); var output = new VtQuatfArray((uint)input.Length); unsafe { // Copy to USD/C++ fixed(UnityEngine.Quaternion *p = input) { output.CopyFromArray((IntPtr)p); } } // Swap back SwapQuaternionReal(ref input); return(output); }
public bool ComputeJointLocalTransformComponents(VtVec3fArray translations, VtQuatfArray rotations, VtVec3hArray scales) { bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_ComputeJointLocalTransformComponents__SWIG_1(swigCPtr, VtVec3fArray.getCPtr(translations), VtQuatfArray.getCPtr(rotations), VtVec3hArray.getCPtr(scales)); return(ret); }
public VtQuatfArray(VtQuatfArray other) : this(UsdCsPINVOKE.new_VtQuatfArray__SWIG_3(VtQuatfArray.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VtQuatfArray obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }