예제 #1
0
        public static SdfLayer GetSessionLayerForVariantSelections(TfToken modelName, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t variantSelections)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdUtilsStageCache_GetSessionLayerForVariantSelections(TfToken.getCPtr(modelName), SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t.getCPtr(variantSelections));
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public ParameterModifier setValues(SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t namesValues)
        {
            ParameterModifier ret = new ParameterModifier(csogmaneoPINVOKE.ParameterModifier_setValues(swigCPtr, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t.getCPtr(namesValues)), false);

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