Ejemplo n.º 1
0
 public SdfAttributeSpecHandleVector(SdfAttributeSpecHandleVector other) : this(UsdCsPINVOKE.new_SdfAttributeSpecHandleVector__SWIG_1(SdfAttributeSpecHandleVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public SdfAttributeSpecHandleVectorEnumerator(SdfAttributeSpecHandleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetAttributesForTargetPath(SdfPath path, SdfAttributeSpecHandleVector newAttrs)
 {
     UsdCsPINVOKE.SdfRelationshipSpecHandle_SetAttributesForTargetPath(swigCPtr, SdfPath.getCPtr(path), SdfAttributeSpecHandleVector.getCPtr(newAttrs));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void SetRange(int index, SdfAttributeSpecHandleVector values)
 {
     UsdCsPINVOKE.SdfAttributeSpecHandleVector_SetRange(swigCPtr, index, SdfAttributeSpecHandleVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
        public static SdfAttributeSpecHandleVector Repeat(SdfAttributeSpecHandle value, int count)
        {
            global::System.IntPtr        cPtr = UsdCsPINVOKE.SdfAttributeSpecHandleVector_Repeat(SdfAttributeSpecHandle.getCPtr(value), count);
            SdfAttributeSpecHandleVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfAttributeSpecHandleVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public SdfAttributeSpecHandleVector GetRange(int index, int count)
        {
            global::System.IntPtr        cPtr = UsdCsPINVOKE.SdfAttributeSpecHandleVector_GetRange(swigCPtr, index, count);
            SdfAttributeSpecHandleVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfAttributeSpecHandleVector(cPtr, true);

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