public VtMatrix4dArray(VtMatrix4dArray other) : this(UsdCsPINVOKE.new_VtMatrix4dArray__SWIG_1(VtMatrix4dArray.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(VtMatrix4dArray obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_34(VtMatrix4dArray.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void swap(VtMatrix4dArray other) { UsdCsPINVOKE.VtMatrix4dArray_swap(swigCPtr, VtMatrix4dArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool IsIdentical(VtMatrix4dArray other) { bool ret = UsdCsPINVOKE.VtMatrix4dArray_IsIdentical(swigCPtr, VtMatrix4dArray.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool RemapTransforms(VtMatrix4dArray source, VtMatrix4dArray target, int elementSize) { bool ret = UsdCsPINVOKE.UsdSkelAnimMapper_RemapTransforms__SWIG_0(swigCPtr, VtMatrix4dArray.getCPtr(source), VtMatrix4dArray.getCPtr(target), elementSize); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public float ComputeExtentsPadding(VtMatrix4dArray skelRestXforms, UsdGeomBoundable boundable) { float ret = UsdCsPINVOKE.UsdSkelSkinningQuery_ComputeExtentsPadding(swigCPtr, VtMatrix4dArray.getCPtr(skelRestXforms), UsdGeomBoundable.getCPtr(boundable)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool Equals(VtMatrix4dArray lhs, VtMatrix4dArray rhs) { bool ret = UsdCsPINVOKE.VtMatrix4dArray_Equals(VtMatrix4dArray.getCPtr(lhs), VtMatrix4dArray.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetTransforms(VtMatrix4dArray xforms, UsdTimeCode time) { bool ret = UsdCsPINVOKE.UsdSkelAnimation_GetTransforms__SWIG_0(swigCPtr, VtMatrix4dArray.getCPtr(xforms), UsdTimeCode.getCPtr(time)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ComputeSkinnedPoints(VtMatrix4dArray xforms, VtVec3fArray points) { bool ret = UsdCsPINVOKE.UsdSkelSkinningQuery_ComputeSkinnedPoints__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms), VtVec3fArray.getCPtr(points)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdTimeCode time, UsdTimeCode baseTime) { bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTime__SWIG_2(swigCPtr, VtMatrix4dArray.getCPtr(xforms), UsdTimeCode.getCPtr(time), UsdTimeCode.getCPtr(baseTime)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdStageWeakPtr stage, UsdTimeCode time, VtIntArray protoIndices, VtVec3fArray positions, VtVec3fArray velocities, UsdTimeCode velocitiesSampleTime, VtVec3fArray accelerations, VtVec3fArray scales, VtQuathArray orientations, VtVec3fArray angularVelocities, UsdTimeCode angularVelocitiesSampleTime, SdfPathVector protoPaths, UsdGeomBoolVector mask) { bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTime__SWIG_4(VtMatrix4dArray.getCPtr(xforms), UsdStageWeakPtr.getCPtr(stage), UsdTimeCode.getCPtr(time), VtIntArray.getCPtr(protoIndices), VtVec3fArray.getCPtr(positions), VtVec3fArray.getCPtr(velocities), UsdTimeCode.getCPtr(velocitiesSampleTime), VtVec3fArray.getCPtr(accelerations), VtVec3fArray.getCPtr(scales), VtQuathArray.getCPtr(orientations), VtVec3fArray.getCPtr(angularVelocities), UsdTimeCode.getCPtr(angularVelocitiesSampleTime), SdfPathVector.getCPtr(protoPaths), UsdGeomBoolVector.getCPtr(mask)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
static public List <UnityEngine.Matrix4x4> ListFromVtArray(VtMatrix4dArray input) { var output = UsdIo.ArrayAllocator.Malloc <UnityEngine.Matrix4x4>(input.size()); for (int i = 0; i < output.Length; i++) { output[i] = FromMatrix(input[i]); } return(output.ToList()); }
public bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdTimeCode time, UsdTimeCode baseTime, UsdGeomPointInstancer.ProtoXformInclusion doProtoXforms, UsdGeomPointInstancer.MaskApplication applyMask) { bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTime__SWIG_0(swigCPtr, VtMatrix4dArray.getCPtr(xforms), UsdTimeCode.getCPtr(time), UsdTimeCode.getCPtr(baseTime), (int)doProtoXforms, (int)applyMask); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
// ----------------------------------------------------------------------------------------- // // Matrix4x4[] / VtArray<GfMatrix4d> // ----------------------------------------------------------------------------------------- // static public VtMatrix4dArray ToVtArray(UnityEngine.Matrix4x4[] input) { var output = new VtMatrix4dArray((uint)input.Length); for (int i = 0; i < input.Length; i++) { output[i] = ToGfMatrix(input[i]); } return(output); }
public bool SetTransforms(VtMatrix4dArray xforms) { bool ret = UsdCsPINVOKE.UsdSkelAnimation_SetTransforms__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ComputeSkinnedTransform(VtMatrix4dArray xforms, GfMatrix4d xform) { bool ret = UsdCsPINVOKE.UsdSkelSkinningQuery_ComputeSkinnedTransform__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms), GfMatrix4d.getCPtr(xform)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ComputeJointLocalTransforms(VtMatrix4dArray xforms, UsdTimeCode time) { bool ret = UsdCsPINVOKE.UsdSkelSkeletonQuery_ComputeJointLocalTransforms__SWIG_3(swigCPtr, VtMatrix4dArray.getCPtr(xforms), UsdTimeCode.getCPtr(time)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
static public UnityEngine.Matrix4x4[] FromVtArray(VtMatrix4dArray input) { var output = UsdIo.ArrayAllocator.Malloc <UnityEngine.Matrix4x4>(input.size()); for (int i = 0; i < output.Length; i++) { output[i] = FromMatrix(input[i]); } /* This doesn't work because we're converting double/float. * Should add a specialized C++ function to do this conversion. * unsafe * { * fixed (UnityEngine.Matrix4x4* p = output) { * input.CopyToArray((IntPtr)p); * } * } */ return(output); }
public bool ComputeJointWorldTransforms(VtMatrix4dArray xforms, UsdGeomXformCache xfCache) { bool ret = UsdCsPINVOKE.UsdSkelSkeletonQuery_ComputeJointWorldTransforms__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms), UsdGeomXformCache.getCPtr(xfCache)); return(ret); }
public bool GetTransforms(VtMatrix4dArray xforms) { bool ret = UsdCsPINVOKE.UsdSkelAnimation_GetTransforms__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms)); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VtMatrix4dArray obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public bool GetJointWorldBindTransforms(VtMatrix4dArray xforms) { bool ret = UsdCsPINVOKE.UsdSkelSkeletonQuery_GetJointWorldBindTransforms(swigCPtr, VtMatrix4dArray.getCPtr(xforms)); return(ret); }
public bool ComputeJointLocalTransforms(VtMatrix4dArray xforms) { bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_ComputeJointLocalTransforms__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms)); return(ret); }