コード例 #1
0
        public static UsdModelAPI Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdModelAPI ret = new UsdModelAPI(UsdCsPINVOKE.UsdModelAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public new static UsdRiRisObject Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiRisObject ret = new UsdRiRisObject(UsdCsPINVOKE.UsdRiRisObject_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
        public static UsdGeomScope Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomScope ret = new UsdGeomScope(UsdCsPINVOKE.UsdGeomScope_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
        public static bool ComputePointsAtTime(VtVec3fArray points, UsdStageWeakPtr stage, UsdTimeCode time, VtVec3fArray positions, VtVec3fArray velocities, UsdTimeCode velocitiesSampleTime, VtVec3fArray accelerations, float velocityScale)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointBased_ComputePointsAtTime__SWIG_1(VtVec3fArray.getCPtr(points), UsdStageWeakPtr.getCPtr(stage), UsdTimeCode.getCPtr(time), VtVec3fArray.getCPtr(positions), VtVec3fArray.getCPtr(velocities), UsdTimeCode.getCPtr(velocitiesSampleTime), VtVec3fArray.getCPtr(accelerations), velocityScale);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public new static UsdRiPxrRodLightFilter Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiPxrRodLightFilter ret = new UsdRiPxrRodLightFilter(UsdCsPINVOKE.UsdRiPxrRodLightFilter_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public static UsdSkelPackedJointAnimation Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdSkelPackedJointAnimation ret = new UsdSkelPackedJointAnimation(UsdCsPINVOKE.UsdSkelPackedJointAnimation_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public new static UsdSkelBlendShape Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdSkelBlendShape ret = new UsdSkelBlendShape(UsdCsPINVOKE.UsdSkelBlendShape_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
        public static UsdRiRisIntegrator Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiRisIntegrator ret = new UsdRiRisIntegrator(UsdCsPINVOKE.UsdRiRisIntegrator_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #9
0
        public static UsdRiPxrEnvDayLight Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiPxrEnvDayLight ret = new UsdRiPxrEnvDayLight(UsdCsPINVOKE.UsdRiPxrEnvDayLight_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #10
0
        public static UsdLuxGeometryLight Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdLuxGeometryLight ret = new UsdLuxGeometryLight(UsdCsPINVOKE.UsdLuxGeometryLight_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
        public new static UsdGeomPointInstancer Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomPointInstancer ret = new UsdGeomPointInstancer(UsdCsPINVOKE.UsdGeomPointInstancer_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #12
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);
        }
コード例 #13
0
        public static UsdObjectVector ComputeIncludedObjects(UsdCollectionAPI.MembershipQuery query, UsdStageWeakPtr stage)
        {
            UsdObjectVector ret = new UsdObjectVector(UsdCsPINVOKE.UsdCollectionAPI_ComputeIncludedObjects(UsdCollectionAPI.MembershipQuery.getCPtr(query), UsdStageWeakPtr.getCPtr(stage)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #14
0
        public static SWIGTYPE_p_std__setT_SdfPath_t ComputeIncludedPaths(UsdCollectionAPI.MembershipQuery query, UsdStageWeakPtr stage)
        {
            SWIGTYPE_p_std__setT_SdfPath_t ret = new SWIGTYPE_p_std__setT_SdfPath_t(UsdCsPINVOKE.UsdCollectionAPI_ComputeIncludedPaths__SWIG_1(UsdCollectionAPI.MembershipQuery.getCPtr(query), UsdStageWeakPtr.getCPtr(stage)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #15
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);
        }
コード例 #16
0
        public new static UsdGeomBasisCurves Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomBasisCurves ret = new UsdGeomBasisCurves(UsdCsPINVOKE.UsdGeomBasisCurves_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #17
0
        public new static UsdShadeMaterial Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdShadeMaterial ret = new UsdShadeMaterial(UsdCsPINVOKE.UsdShadeMaterial_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #18
0
        public static UsdPrimRange Stage(UsdStageWeakPtr stage)
        {
            UsdPrimRange ret = new UsdPrimRange(UsdCsPINVOKE.UsdPrimRange_Stage__SWIG_1(UsdStageWeakPtr.getCPtr(stage)), true);

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