public SdfPropertySpecHandle(SdfPropertySpecHandle handle) : this(UsdCsPINVOKE.new_SdfPropertySpecHandle__SWIG_2(SdfPropertySpecHandle.getCPtr(handle)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveProperty(SdfPropertySpecHandle property) { UsdCsPINVOKE.SdfPrimSpec_RemoveProperty(swigCPtr, SdfPropertySpecHandle.getCPtr(property)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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); }