예제 #1
0
        public bool ComputeInstanceTransformsAtTimes(SWIGTYPE_p_std__vectorT_VtArrayT_GfMatrix4d_t_t xformsArray, SWIGTYPE_p_std__vectorT_UsdTimeCode_t times, UsdTimeCode baseTime)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTimes__SWIG_2(swigCPtr, SWIGTYPE_p_std__vectorT_VtArrayT_GfMatrix4d_t_t.getCPtr(xformsArray), SWIGTYPE_p_std__vectorT_UsdTimeCode_t.getCPtr(times), UsdTimeCode.getCPtr(baseTime));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public bool ComputeInstanceTransformsAtTimes(SWIGTYPE_p_std__vectorT_VtArrayT_GfMatrix4d_t_t xformsArray, SWIGTYPE_p_std__vectorT_UsdTimeCode_t times, UsdTimeCode baseTime, UsdGeomPointInstancer.ProtoXformInclusion doProtoXforms, UsdGeomPointInstancer.MaskApplication applyMask)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTimes__SWIG_0(swigCPtr, SWIGTYPE_p_std__vectorT_VtArrayT_GfMatrix4d_t_t.getCPtr(xformsArray), SWIGTYPE_p_std__vectorT_UsdTimeCode_t.getCPtr(times), UsdTimeCode.getCPtr(baseTime), (int)doProtoXforms, (int)applyMask);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_VtArrayT_GfMatrix4d_t_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }