Beispiel #1
0
 public UsdTimeCodeVector(UsdTimeCodeVector other) : this(UsdCsPINVOKE.new_UsdTimeCodeVector__SWIG_1(UsdTimeCodeVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public UsdTimeCodeVectorEnumerator(UsdTimeCodeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
        public bool ComputeExtentAtTimes(VtVec3fArrayVector extents, UsdTimeCodeVector times, UsdTimeCode baseTime, GfMatrix4d transform)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeExtentAtTimes__SWIG_1(swigCPtr, VtVec3fArrayVector.getCPtr(extents), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime), GfMatrix4d.getCPtr(transform));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #4
0
        public static UsdTimeCodeVector Repeat(UsdTimeCode value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdTimeCodeVector_Repeat(UsdTimeCode.getCPtr(value), count);
            UsdTimeCodeVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdTimeCodeVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #5
0
        public UsdTimeCodeVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdTimeCodeVector_GetRange(swigCPtr, index, count);
            UsdTimeCodeVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdTimeCodeVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdTimeCodeVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
        public bool ComputeInstanceTransformsAtTimes(VtMatrix4dArrayVector xformsArray, UsdTimeCodeVector times, UsdTimeCode baseTime)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTimes__SWIG_2(swigCPtr, VtMatrix4dArrayVector.getCPtr(xformsArray), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool ComputeInstanceTransformsAtTimes(VtMatrix4dArrayVector xformsArray, UsdTimeCodeVector times, UsdTimeCode baseTime, UsdGeomPointInstancer.ProtoXformInclusion doProtoXforms, UsdGeomPointInstancer.MaskApplication applyMask)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTimes__SWIG_0(swigCPtr, VtMatrix4dArrayVector.getCPtr(xformsArray), UsdTimeCodeVector.getCPtr(times), UsdTimeCode.getCPtr(baseTime), (int)doProtoXforms, (int)applyMask);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }