コード例 #1
0
 public void SetItems(SdfPathVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfPathListOp_SetItems(swigCPtr, SdfPathVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public void SetAppendedItems(SdfPathVector items)
 {
     UsdCsPINVOKE.SdfPathListOp_SetAppendedItems(swigCPtr, SdfPathVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
        public bool SetBindingTargets(SdfPathVector bindings)
        {
            bool ret = UsdCsPINVOKE.UsdGeomFaceSetAPI_SetBindingTargets(swigCPtr, SdfPathVector.getCPtr(bindings));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
ファイル: UsdInherits.cs プロジェクト: mwikenma/usd-unity-sdk
        public bool SetInherits(SdfPathVector items)
        {
            bool ret = UsdCsPINVOKE.UsdInherits_SetInherits(swigCPtr, SdfPathVector.getCPtr(items));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
ファイル: UsdAttribute.cs プロジェクト: soulhez/usd-unity-sdk
        public bool SetConnections(SdfPathVector sources)
        {
            bool ret = UsdCsPINVOKE.UsdAttribute_SetConnections(swigCPtr, SdfPathVector.getCPtr(sources));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public bool SetTargets(SdfPathVector targets)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCollectionAPI_SetTargets(swigCPtr, SdfPathVector.getCPtr(targets));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
ファイル: SdfPath.cs プロジェクト: feniksa/usd-unity-sdk
        public static SdfPathVector GetConciseRelativePaths(SdfPathVector paths)
        {
            SdfPathVector ret = new SdfPathVector(UsdCsPINVOKE.SdfPath_GetConciseRelativePaths(SdfPathVector.getCPtr(paths)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
ファイル: SdfPath.cs プロジェクト: feniksa/usd-unity-sdk
 public void GetAllTargetPathsRecursively(SdfPathVector result)
 {
     UsdCsPINVOKE.SdfPath_GetAllTargetPathsRecursively(swigCPtr, SdfPathVector.getCPtr(result));
 }
コード例 #9
0
ファイル: SdfPath.cs プロジェクト: feniksa/usd-unity-sdk
 public void GetPrefixes(SdfPathVector prefixes)
 {
     UsdCsPINVOKE.SdfPath_GetPrefixes__SWIG_1(swigCPtr, SdfPathVector.getCPtr(prefixes));
 }
コード例 #10
0
        public static bool GetRawConnectedSourcePaths(UsdShadeOutput output, SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetRawConnectedSourcePaths__SWIG_2(UsdShadeOutput.getCPtr(output), SdfPathVector.getCPtr(sourcePaths));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
ファイル: PcpCache.cs プロジェクト: feniksa/usd-unity-sdk
 public void ComputeAttributeConnectionPaths(SdfPath attributePath, SdfPathVector paths, bool localOnly, SdfSpecHandle stopProperty, bool includeStopProperty, SdfPathVector deletedPaths, SWIGTYPE_p_PcpErrorVector allErrors)
 {
     UsdCsPINVOKE.PcpCache_ComputeAttributeConnectionPaths(swigCPtr, SdfPath.getCPtr(attributePath), SdfPathVector.getCPtr(paths), localOnly, SdfSpecHandle.getCPtr(stopProperty), includeStopProperty, SdfPathVector.getCPtr(deletedPaths), SWIGTYPE_p_PcpErrorVector.getCPtr(allErrors));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
        public bool GetRawConnectedSourcePaths(SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_GetRawConnectedSourcePaths(swigCPtr, SdfPathVector.getCPtr(sourcePaths));

            return(ret);
        }
コード例 #13
0
        public bool GetModelScopedCoordinateSystems(SdfPathVector targets)
        {
            bool ret = UsdCsPINVOKE.UsdRiStatementsAPI_GetModelScopedCoordinateSystems(swigCPtr, SdfPathVector.getCPtr(targets));

            return(ret);
        }
コード例 #14
0
        public static UsdGeomCollectionAPI Create(UsdSchemaBase schemaObj, TfToken name, SdfPathVector targets)
        {
            UsdGeomCollectionAPI ret = new UsdGeomCollectionAPI(UsdCsPINVOKE.UsdGeomCollectionAPI_Create__SWIG_6(UsdSchemaBase.getCPtr(schemaObj), TfToken.getCPtr(name), SdfPathVector.getCPtr(targets)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #15
0
        public static UsdGeomCollectionAPI Create(UsdPrim prim, TfToken name, SdfPathVector targets, VtIntArray targetFaceCounts)
        {
            UsdGeomCollectionAPI ret = new UsdGeomCollectionAPI(UsdCsPINVOKE.UsdGeomCollectionAPI_Create__SWIG_1(UsdPrim.getCPtr(prim), TfToken.getCPtr(name), SdfPathVector.getCPtr(targets), VtIntArray.getCPtr(targetFaceCounts)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #16
0
        public static SdfPathListOp Create(SdfPathVector prependedItems)
        {
            SdfPathListOp ret = new SdfPathListOp(UsdCsPINVOKE.SdfPathListOp_Create__SWIG_2(SdfPathVector.getCPtr(prependedItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #17
0
        public static SdfPathListOp CreateExplicit(SdfPathVector explicitItems)
        {
            SdfPathListOp ret = new SdfPathListOp(UsdCsPINVOKE.SdfPathListOp_CreateExplicit__SWIG_0(SdfPathVector.getCPtr(explicitItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #18
0
        public bool ReplaceOperations(SdfListOpType op, uint index, uint n, SdfPathVector newItems)
        {
            bool ret = UsdCsPINVOKE.SdfPathListOp_ReplaceOperations(swigCPtr, (int)op, index, n, SdfPathVector.getCPtr(newItems));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #19
0
ファイル: UsdAttribute.cs プロジェクト: soulhez/usd-unity-sdk
        public bool GetConnections(SdfPathVector sources)
        {
            bool ret = UsdCsPINVOKE.UsdAttribute_GetConnections(swigCPtr, SdfPathVector.getCPtr(sources));

            return(ret);
        }
コード例 #20
0
ファイル: SdfPath.cs プロジェクト: feniksa/usd-unity-sdk
 public static void RemoveDescendentPaths(SdfPathVector paths)
 {
     UsdCsPINVOKE.SdfPath_RemoveDescendentPaths(SdfPathVector.getCPtr(paths));
 }
コード例 #21
0
ファイル: SdfPath.cs プロジェクト: feniksa/usd-unity-sdk
 public static void RemoveAncestorPaths(SdfPathVector paths)
 {
     UsdCsPINVOKE.SdfPath_RemoveAncestorPaths(SdfPathVector.getCPtr(paths));
 }
コード例 #22
0
        public bool GetBindingTargets(SdfPathVector bindings)
        {
            bool ret = UsdCsPINVOKE.UsdGeomFaceSetAPI_GetBindingTargets(swigCPtr, SdfPathVector.getCPtr(bindings));

            return(ret);
        }
コード例 #23
0
 public SdfPathVector(SdfPathVector other) : this(UsdCsPINVOKE.new_SdfPathVector__SWIG_1(SdfPathVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #24
0
 public void GetAllTargetPathsRecursively(SdfPathVector result)
 {
     UsdCsPINVOKE.SdfPathAncestorsRange_iterator_GetAllTargetPathsRecursively(swigCPtr, SdfPathVector.getCPtr(result));
 }
コード例 #25
0
        public static bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdStageWeakPtr stage, UsdTimeCode time, VtIntArray protoIndices, VtVec3fArray positions, VtVec3fArray velocities, UsdTimeCode velocitiesSampleTime, VtVec3fArray accelerations, VtVec3fArray scales, VtQuathArray orientations, VtVec3fArray angularVelocities, UsdTimeCode angularVelocitiesSampleTime, SdfPathVector protoPaths, UsdGeomBoolVector mask)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTime__SWIG_4(VtMatrix4dArray.getCPtr(xforms), UsdStageWeakPtr.getCPtr(stage), UsdTimeCode.getCPtr(time), VtIntArray.getCPtr(protoIndices), VtVec3fArray.getCPtr(positions), VtVec3fArray.getCPtr(velocities), UsdTimeCode.getCPtr(velocitiesSampleTime), VtVec3fArray.getCPtr(accelerations), VtVec3fArray.getCPtr(scales), VtQuathArray.getCPtr(orientations), VtVec3fArray.getCPtr(angularVelocities), UsdTimeCode.getCPtr(angularVelocitiesSampleTime), SdfPathVector.getCPtr(protoPaths), UsdGeomBoolVector.getCPtr(mask));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #26
0
 public UsdSkelTopology(SdfPathVector paths) : this(UsdCsPINVOKE.new_UsdSkelTopology__SWIG_3(SdfPathVector.getCPtr(paths)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #27
0
 public void GetPrefixes(SdfPathVector prefixes)
 {
     UsdCsPINVOKE.SdfPathAncestorsRange_iterator_GetPrefixes__SWIG_1(swigCPtr, SdfPathVector.getCPtr(prefixes));
 }
コード例 #28
0
 public UsdStagePopulationMask(SdfPathVector paths) : this(UsdCsPINVOKE.new_UsdStagePopulationMask__SWIG_4(SdfPathVector.getCPtr(paths)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #29
0
        public static bool GetRawConnectedSourcePaths(UsdProperty shadingProp, SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetRawConnectedSourcePaths__SWIG_0(UsdProperty.getCPtr(shadingProp), SdfPathVector.getCPtr(sourcePaths));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #30
0
 public void ComputeRelationshipTargetPaths(SdfPath relationshipPath, SdfPathVector paths, bool localOnly, SdfSpecHandle stopProperty, bool includeStopProperty, SWIGTYPE_p_PcpErrorVector allErrors)
 {
     UsdCsPINVOKE.PcpCache_ComputeRelationshipTargetPaths(swigCPtr, SdfPath.getCPtr(relationshipPath), SdfPathVector.getCPtr(paths), localOnly, SdfSpecHandle.getCPtr(stopProperty), includeStopProperty, SWIGTYPE_p_PcpErrorVector.getCPtr(allErrors));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }