Ejemplo n.º 1
0
        public UsdRelationship GetRelationshipAtPath(SdfPath path)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_GetRelationshipAtPath(swigCPtr, SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public static UsdVolOpenVDBAsset Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdVolOpenVDBAsset ret = new UsdVolOpenVDBAsset(UsdCsPINVOKE.UsdVolOpenVDBAsset_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
        public bool AddInternalReference(SdfPath primPath)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_AddInternalReference__SWIG_2(swigCPtr, SdfPath.getCPtr(primPath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 4
0
        public SdfPath GetPath()
        {
            SdfPath ret = new SdfPath(UsdCsPINVOKE.UsdSchemaBase_GetPath(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 5
0
        public static UsdGeomPointInstancer Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomPointInstancer ret = new UsdGeomPointInstancer(UsdCsPINVOKE.UsdGeomPointInstancer_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public static UsdCollectionAPI GetCollection(UsdStageWeakPtr stage, SdfPath collectionPath)
        {
            UsdCollectionAPI ret = new UsdCollectionAPI(UsdCsPINVOKE.UsdCollectionAPI_GetCollection__SWIG_0(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(collectionPath)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
 public void ReplaceTargetPath(SdfPath oldPath, SdfPath newPath)
 {
     UsdCsPINVOKE.SdfRelationshipSpec_ReplaceTargetPath(swigCPtr, SdfPath.getCPtr(oldPath), SdfPath.getCPtr(newPath));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
        public string GetConnectionMarker(SdfPath path)
        {
            string ret = UsdCsPINVOKE.SdfAttributeSpecHandle_GetConnectionMarker(swigCPtr, SdfPath.getCPtr(path));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public SdfPath GetPath()
        {
            SdfPath ret = new SdfPath(UsdCsPINVOKE.SdfAttributeSpecHandle_GetPath(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 10
0
        public SdfAttributeSpecHandle New(SdfRelationshipSpecHandle owner, SdfPath targetPath, string name, SdfValueTypeName typeName)
        {
            SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpecHandle_New__SWIG_5(swigCPtr, SdfRelationshipSpecHandle.getCPtr(owner), SdfPath.getCPtr(targetPath), name, SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
 public void ChangeMapperPath(SdfPath oldPath, SdfPath newPath)
 {
     UsdCsPINVOKE.SdfAttributeSpecHandle_ChangeMapperPath(swigCPtr, SdfPath.getCPtr(oldPath), SdfPath.getCPtr(newPath));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 12
0
        public PcpNodeRef GetNodeProvidingSpec(SdfLayerHandle layer, SdfPath path)
        {
            PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpPrimIndex_GetNodeProvidingSpec__SWIG_1(swigCPtr, SdfLayerHandle.getCPtr(layer), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 13
0
        public SdfPath GetPath()
        {
            SdfPath ret = new SdfPath(UsdCsPINVOKE.PcpPrimIndex_GetPath(swigCPtr), false);

            return(ret);
        }
Ejemplo n.º 14
0
        public SWIGTYPE_p_PcpMapExpression GetExpressionForRelocatesAtPath(SdfPath path)
        {
            SWIGTYPE_p_PcpMapExpression ret = new SWIGTYPE_p_PcpMapExpression(UsdCsPINVOKE.PcpLayerStack_GetExpressionForRelocatesAtPath(swigCPtr, SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 15
0
        public static UsdSkelBlendShape Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdSkelBlendShape ret = new UsdSkelBlendShape(UsdCsPINVOKE.UsdSkelBlendShape_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 16
0
        public static bool ConnectToSource(UsdProperty shadingProp, SdfPath sourcePath)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_9(UsdProperty.getCPtr(shadingProp), SdfPath.getCPtr(sourcePath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 17
0
        public bool SetPayload(SdfLayerHandle layer, SdfPath primPath)
        {
            bool ret = UsdCsPINVOKE.UsdPrim_SetPayload__SWIG_2(swigCPtr, SdfLayerHandle.getCPtr(layer), SdfPath.getCPtr(primPath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 18
0
        public static bool ConnectToSource(UsdShadeOutput output, SdfPath sourcePath)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_11(UsdShadeOutput.getCPtr(output), SdfPath.getCPtr(sourcePath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 19
0
        public SdfPath GetCollectionPath()
        {
            SdfPath ret = new SdfPath(UsdCsPINVOKE.UsdCollectionAPI_GetCollectionPath(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 20
0
        public static UsdGeomNurbsCurves Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomNurbsCurves ret = new UsdGeomNurbsCurves(UsdCsPINVOKE.UsdGeomNurbsCurves_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 21
0
        public new static UsdGeomXformable Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomXformable ret = new UsdGeomXformable(UsdCsPINVOKE.UsdGeomXformable_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 22
0
        public new static UsdLuxLightFilter Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdLuxLightFilter ret = new UsdLuxLightFilter(UsdCsPINVOKE.UsdLuxLightFilter_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 23
0
        public SdfPath GetPath()
        {
            SdfPath ret = new SdfPath(UsdCsPINVOKE.SdfSubLayerProxy_GetPath(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 24
0
 public SdfNamespaceEdit(SdfPath currentPath_, SdfPath newPath_) : this(UsdCsPINVOKE.new_SdfNamespaceEdit__SWIG_2(SdfPath.getCPtr(currentPath_), SdfPath.getCPtr(newPath_)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 25
0
        public static UsdLuxShadowAPI Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdLuxShadowAPI ret = new UsdLuxShadowAPI(UsdCsPINVOKE.UsdLuxShadowAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 26
0
        public static SdfNamespaceEdit Rename(SdfPath currentPath, TfToken name)
        {
            SdfNamespaceEdit ret = new SdfNamespaceEdit(UsdCsPINVOKE.SdfNamespaceEdit_Rename(SdfPath.getCPtr(currentPath), TfToken.getCPtr(name)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 27
0
        public bool AddInternalReference(SdfPath primPath, SdfLayerOffset layerOffset, UsdListPosition position)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_AddInternalReference__SWIG_0(swigCPtr, SdfPath.getCPtr(primPath), SdfLayerOffset.getCPtr(layerOffset), (int)position);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 28
0
        public static SdfNamespaceEdit Reorder(SdfPath currentPath, int index)
        {
            SdfNamespaceEdit ret = new SdfNamespaceEdit(UsdCsPINVOKE.SdfNamespaceEdit_Reorder(SdfPath.getCPtr(currentPath), index), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 29
0
        public bool AddReference(string identifier, SdfPath primPath, SdfLayerOffset layerOffset)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_AddReference__SWIG_3(swigCPtr, identifier, SdfPath.getCPtr(primPath), SdfLayerOffset.getCPtr(layerOffset));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 30
0
        public UsdAttribute GetAttributeAtPath(SdfPath path)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdPrim_GetAttributeAtPath(swigCPtr, SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }