示例#1
0
 public void SetRange(int index, TfTokenVector values)
 {
     UsdCsPINVOKE.TfTokenVector_SetRange(swigCPtr, index, TfTokenVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void SetOrderedItems(TfTokenVector items)
 {
     UsdCsPINVOKE.SdfTokenListOp_SetOrderedItems(swigCPtr, TfTokenVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void SetItems(TfTokenVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfTokenListOp_SetItems(swigCPtr, TfTokenVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void SetPropertyOrder(TfTokenVector names)
 {
     UsdCsPINVOKE.SdfPrimSpec_SetPropertyOrder(swigCPtr, TfTokenVector.getCPtr(names));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetIncludedPurposes(TfTokenVector includedPurposes)
 {
     UsdCsPINVOKE.UsdGeomBBoxCache_SetIncludedPurposes(swigCPtr, TfTokenVector.getCPtr(includedPurposes));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
0
 public void SetPropertyOrder(TfTokenVector order)
 {
     UsdCsPINVOKE.UsdPrim_SetPropertyOrder(swigCPtr, TfTokenVector.getCPtr(order));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetNameChildrenOrder(TfTokenVector names)
 {
     UsdCsPINVOKE.SdfPrimSpecHandle_SetNameChildrenOrder(swigCPtr, TfTokenVector.getCPtr(names));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
        public static string JoinIdentifier(TfTokenVector names)
        {
            string ret = UsdCsPINVOKE.SdfPath_JoinIdentifier__SWIG_1(TfTokenVector.getCPtr(names));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public UsdGeomBBoxCache(UsdTimeCode time, TfTokenVector includedPurposes) : this(UsdCsPINVOKE.new_UsdGeomBBoxCache__SWIG_2(UsdTimeCode.getCPtr(time), TfTokenVector.getCPtr(includedPurposes)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#10
0
 public UsdGeomBBoxCache(UsdTimeCode time, TfTokenVector includedPurposes, bool useExtentsHint, bool ignoreVisibility) : this(UsdCsPINVOKE.new_UsdGeomBBoxCache__SWIG_0(UsdTimeCode.getCPtr(time), TfTokenVector.getCPtr(includedPurposes), useExtentsHint, ignoreVisibility), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#11
0
        public static SdfTokenListOp Create(TfTokenVector prependedItems)
        {
            SdfTokenListOp ret = new SdfTokenListOp(UsdCsPINVOKE.SdfTokenListOp_Create__SWIG_2(TfTokenVector.getCPtr(prependedItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#12
0
        public static SdfTokenListOp CreateExplicit(TfTokenVector explicitItems)
        {
            SdfTokenListOp ret = new SdfTokenListOp(UsdCsPINVOKE.SdfTokenListOp_CreateExplicit__SWIG_0(TfTokenVector.getCPtr(explicitItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#13
0
 public TfTokenVector(TfTokenVector other) : this(UsdCsPINVOKE.new_TfTokenVector__SWIG_1(TfTokenVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#14
0
 public void ComputePrimPropertyNames(TfTokenVector nameOrder)
 {
     UsdCsPINVOKE.PcpPrimIndex_ComputePrimPropertyNames(swigCPtr, TfTokenVector.getCPtr(nameOrder));
 }
 public void ApplyAttributeOrderForTargetPath(SdfPath path, TfTokenVector vec)
 {
     UsdCsPINVOKE.SdfRelationshipSpecHandle_ApplyAttributeOrderForTargetPath(swigCPtr, SdfPath.getCPtr(path), TfTokenVector.getCPtr(vec));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#16
0
        public SdrShaderNode GetShaderNodeByName(string name, TfTokenVector typePriority, NdrVersionFilter filter)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdrRegistry_GetShaderNodeByName__SWIG_0(swigCPtr, name, TfTokenVector.getCPtr(typePriority), (int)filter);
            SdrShaderNode         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#17
0
        public SdrShaderNode GetShaderNodeByIdentifier(TfToken identifier, TfTokenVector typePriority)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdrRegistry_GetShaderNodeByIdentifier__SWIG_0(swigCPtr, TfToken.getCPtr(identifier), TfTokenVector.getCPtr(typePriority));
            SdrShaderNode         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdrShaderNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#18
0
        public bool GetIncludedChildNames(SdfPath path, TfTokenVector childNames)
        {
            bool ret = UsdCsPINVOKE.UsdStagePopulationMask_GetIncludedChildNames(swigCPtr, SdfPath.getCPtr(path), TfTokenVector.getCPtr(childNames));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#19
0
 public void ApplyNameChildrenOrder(TfTokenVector vec)
 {
     UsdCsPINVOKE.SdfPrimSpec_ApplyNameChildrenOrder(swigCPtr, TfTokenVector.getCPtr(vec));
 }
示例#20
0
 public void ComputePrimChildNames(TfTokenVector nameOrder, SWIGTYPE_p_TfDenseHashSetT_TfToken_TfToken__HashFunctor_t prohibitedNameSet)
 {
     UsdCsPINVOKE.PcpPrimIndex_ComputePrimChildNames(swigCPtr, TfTokenVector.getCPtr(nameOrder), SWIGTYPE_p_TfDenseHashSetT_TfToken_TfToken__HashFunctor_t.getCPtr(prohibitedNameSet));
 }
示例#21
0
 public void ApplyPropertyOrder(TfTokenVector vec)
 {
     UsdCsPINVOKE.SdfPrimSpec_ApplyPropertyOrder(swigCPtr, TfTokenVector.getCPtr(vec));
 }
示例#22
0
        public bool ReplaceOperations(SdfListOpType op, uint index, uint n, TfTokenVector newItems)
        {
            bool ret = UsdCsPINVOKE.SdfTokenListOp_ReplaceOperations(swigCPtr, (int)op, index, n, TfTokenVector.getCPtr(newItems));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#23
0
        public NdrNode GetNodeByName(string name, TfTokenVector typePriority)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeByName__SWIG_1(swigCPtr, name, TfTokenVector.getCPtr(typePriority));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#24
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);
        }