Exemple #1
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);
        }
        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);
        }
Exemple #3
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);
        }
Exemple #4
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);
        }
        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);
        }
Exemple #6
0
        public static bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdStageWeakPtr stage, UsdTimeCode time, VtIntArray protoIndices, VtVec3fArray positions, VtVec3fArray velocities, UsdTimeCode velocitiesSampleTime, 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(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);
        }
        public static SWIGTYPE_p_std__setT_SdfPath_t ComputeIncludedPaths(SWIGTYPE_p_UsdCollectionMembershipQuery query, UsdStageWeakPtr stage)
        {
            SWIGTYPE_p_std__setT_SdfPath_t ret = new SWIGTYPE_p_std__setT_SdfPath_t(UsdCsPINVOKE.UsdCollectionAPI_ComputeIncludedPaths__SWIG_1(SWIGTYPE_p_UsdCollectionMembershipQuery.getCPtr(query), UsdStageWeakPtr.getCPtr(stage)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static UsdObjectVector ComputeIncludedObjects(SWIGTYPE_p_UsdCollectionMembershipQuery query, UsdStageWeakPtr stage)
        {
            UsdObjectVector ret = new UsdObjectVector(UsdCsPINVOKE.UsdCollectionAPI_ComputeIncludedObjects(SWIGTYPE_p_UsdCollectionMembershipQuery.getCPtr(query), UsdStageWeakPtr.getCPtr(stage)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
        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);
        }
Exemple #11
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);
        }
        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);
        }
Exemple #13
0
        public new static UsdShadeNodeGraph Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdShadeNodeGraph ret = new UsdShadeNodeGraph(UsdCsPINVOKE.UsdShadeNodeGraph_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #14
0
        public UsdStageWeakPtr GetStage()
        {
            UsdStageWeakPtr ret = new UsdStageWeakPtr(UsdCsPINVOKE.UsdObject_GetStage(swigCPtr), true);

            return(ret);
        }
Exemple #15
0
        public new static UsdRiRisObject Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiRisObject ret = new UsdRiRisObject(UsdCsPINVOKE.UsdRiRisObject_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

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