public SdfPropertySpecHandle(SdfPropertySpecHandle handle) : this(UsdCsPINVOKE.new_SdfPropertySpecHandle__SWIG_2(SdfPropertySpecHandle.getCPtr(handle)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void RemoveProperty(SdfPropertySpecHandle property)
 {
     UsdCsPINVOKE.SdfPrimSpec_RemoveProperty(swigCPtr, SdfPropertySpecHandle.getCPtr(property));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        public SdfPropertySpecHandle GetPropertyAtPath(SdfPath path)
        {
            SdfPropertySpecHandle ret = new SdfPropertySpecHandle(UsdCsPINVOKE.SdfPrimSpec_GetPropertyAtPath(swigCPtr, SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public bool InsertProperty(SdfPropertySpecHandle property)
        {
            bool ret = UsdCsPINVOKE.SdfPrimSpec_InsertProperty__SWIG_1(swigCPtr, SdfPropertySpecHandle.getCPtr(property));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public SdfPropertySpecHandle GetPropertySpecForScenePath(SdfPath scenePath)
        {
            SdfPropertySpecHandle ret = new SdfPropertySpecHandle(UsdCsPINVOKE.UsdEditTarget_GetPropertySpecForScenePath(swigCPtr, SdfPath.getCPtr(scenePath)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfPropertySpecHandle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }