Пример #1
0
        public bool AddReference(SdfReference arg0)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_AddReference__SWIG_1(swigCPtr, SdfReference.getCPtr(arg0));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
        public bool HasItem(SdfReference item)
        {
            bool ret = UsdCsPINVOKE.SdfReferenceListOp_HasItem(swigCPtr, SdfReference.getCPtr(item));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public bool AddReference(SdfReference arg0, UsdListPosition position)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_AddReference__SWIG_0(swigCPtr, SdfReference.getCPtr(arg0), (int)position);

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