Exemple #1
0
 public UsdAttributeQueryVector(UsdAttributeQueryVector other) : this(UsdCsPINVOKE.new_UsdAttributeQueryVector__SWIG_1(UsdAttributeQueryVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public UsdAttributeQueryVectorEnumerator(UsdAttributeQueryVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, UsdAttributeQueryVector values)
 {
     UsdCsPINVOKE.UsdAttributeQueryVector_SetRange(swigCPtr, index, UsdAttributeQueryVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public static UsdAttributeQueryVector CreateQueries(UsdPrim prim, TfTokenVector attrNames)
        {
            UsdAttributeQueryVector ret = new UsdAttributeQueryVector(UsdCsPINVOKE.UsdAttributeQuery_CreateQueries(UsdPrim.getCPtr(prim), TfTokenVector.getCPtr(attrNames)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
        public static bool GetUnionedTimeSamplesInInterval(UsdAttributeQueryVector attrQueries, GfInterval interval, StdDoubleVector times)
        {
            bool ret = UsdCsPINVOKE.UsdAttributeQuery_GetUnionedTimeSamplesInInterval(UsdAttributeQueryVector.getCPtr(attrQueries), GfInterval.getCPtr(interval), StdDoubleVector.getCPtr(times));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
        public static UsdAttributeQueryVector Repeat(UsdAttributeQuery value, int count)
        {
            global::System.IntPtr   cPtr = UsdCsPINVOKE.UsdAttributeQueryVector_Repeat(UsdAttributeQuery.getCPtr(value), count);
            UsdAttributeQueryVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdAttributeQueryVector(cPtr, true);

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

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