Пример #1
0
        public static UsdRiRisOslPattern Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiRisOslPattern ret = new UsdRiRisOslPattern(UsdCsPINVOKE.UsdRiRisOslPattern_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdRiRisOslPattern obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }