Ejemplo n.º 1
0
 public UsdRelationshipVector(UsdRelationshipVector other) : this(UsdCsPINVOKE.new_UsdRelationshipVector__SWIG_1(UsdRelationshipVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public UsdRelationshipVectorEnumerator(UsdRelationshipVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, UsdRelationshipVector values)
 {
     UsdCsPINVOKE.UsdRelationshipVector_SetRange(swigCPtr, index, UsdRelationshipVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public UsdRelationshipVector GetCollectionBindingRels(TfToken materialPurpose)
        {
            UsdRelationshipVector ret = new UsdRelationshipVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetCollectionBindingRels__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public static UsdRelationshipVector Repeat(UsdRelationship value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdRelationshipVector_Repeat(UsdRelationship.getCPtr(value), count);
            UsdRelationshipVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdRelationshipVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
        public UsdRelationshipVector GetAuthoredRelationships()
        {
            UsdRelationshipVector ret = new UsdRelationshipVector(UsdCsPINVOKE.UsdPrim_GetAuthoredRelationships(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdRelationshipVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
        public static UsdShadeMaterialVector ComputeBoundMaterials(UsdPrimVector prims, TfToken materialPurpose, UsdRelationshipVector bindingRels)
        {
            UsdShadeMaterialVector ret = new UsdShadeMaterialVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterials__SWIG_0(UsdPrimVector.getCPtr(prims), TfToken.getCPtr(materialPurpose), UsdRelationshipVector.getCPtr(bindingRels)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public UsdRelationshipVector GetCollectionBindingRels()
        {
            UsdRelationshipVector ret = new UsdRelationshipVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetCollectionBindingRels__SWIG_1(swigCPtr), true);

            return(ret);
        }