예제 #1
0
 public UsdAttributeVector(UsdAttributeVector other) : this(UsdCsPINVOKE.new_UsdAttributeVector__SWIG_1(UsdAttributeVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public UsdAttributeVectorEnumerator(UsdAttributeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, UsdAttributeVector values)
 {
     UsdCsPINVOKE.UsdAttributeVector_SetRange(swigCPtr, index, UsdAttributeVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static bool GetUnionedTimeSamples(UsdAttributeVector attrs, StdDoubleVector times)
        {
            bool ret = UsdCsPINVOKE.UsdAttribute_GetUnionedTimeSamples(UsdAttributeVector.getCPtr(attrs), StdDoubleVector.getCPtr(times));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public static UsdAttributeVector Repeat(UsdAttribute value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdAttributeVector_Repeat(UsdAttribute.getCPtr(value), count);
            UsdAttributeVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdAttributeVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public UsdAttributeVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdAttributeVector_GetRange(swigCPtr, index, count);
            UsdAttributeVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdAttributeVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public bool GetBlendShapeWeightAttributes(UsdAttributeVector attrs)
        {
            bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_GetBlendShapeWeightAttributes(swigCPtr, UsdAttributeVector.getCPtr(attrs));

            return(ret);
        }
예제 #8
0
        public bool GetJointTransformAttributes(UsdAttributeVector attrs)
        {
            bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_GetJointTransformAttributes(swigCPtr, UsdAttributeVector.getCPtr(attrs));

            return(ret);
        }
예제 #9
0
        public UsdAttributeVector GetAuthoredAttributes()
        {
            UsdAttributeVector ret = new UsdAttributeVector(UsdCsPINVOKE.UsdPrim_GetAuthoredAttributes(swigCPtr), true);

            return(ret);
        }
예제 #10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdAttributeVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #11
0
 public void AddRange(UsdAttributeVector values) {
   UsdCsPINVOKE.UsdAttributeVector_AddRange(swigCPtr, UsdAttributeVector.getCPtr(values));
   if (UsdCsPINVOKE.SWIGPendingException.Pending) throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
 }