public SdfRelationshipSpecHandle(SdfRelationshipSpecHandle handle) : this(UsdCsPINVOKE.new_SdfRelationshipSpecHandle__SWIG_2(SdfRelationshipSpecHandle.getCPtr(handle)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public SdfRelationshipSpecHandle GetRelationshipAtPath(SdfPath path) { SdfRelationshipSpecHandle ret = new SdfRelationshipSpecHandle(UsdCsPINVOKE.SdfPrimSpec_GetRelationshipAtPath(swigCPtr, SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfRelationshipSpecHandle New(SdfPrimSpecHandle owner, string name) { SdfRelationshipSpecHandle ret = new SdfRelationshipSpecHandle(UsdCsPINVOKE.SdfRelationshipSpecHandle_New__SWIG_2(swigCPtr, SdfPrimSpecHandle.getCPtr(owner), name), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfRelationshipSpecHandle New(SdfPrimSpecHandle owner, string name, bool custom, SdfVariability variability) { SdfRelationshipSpecHandle ret = new SdfRelationshipSpecHandle(UsdCsPINVOKE.SdfRelationshipSpecHandle_New__SWIG_0(swigCPtr, SdfPrimSpecHandle.getCPtr(owner), name, custom, (int)variability), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfRelationshipSpecHandle New(SdfPrimSpecHandle owner, string name, bool custom) { SdfRelationshipSpecHandle ret = new SdfRelationshipSpecHandle(UsdCsPINVOKE.SdfRelationshipSpec_New__SWIG_1(SdfPrimSpecHandle.getCPtr(owner), name, custom), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfAttributeSpecHandle New(SdfRelationshipSpecHandle owner, SdfPath targetPath, string name, SdfValueTypeName typeName, SdfVariability variability) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpec_New__SWIG_4(SdfRelationshipSpecHandle.getCPtr(owner), SdfPath.getCPtr(targetPath), name, SdfValueTypeName.getCPtr(typeName), (int)variability), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfRelationshipSpecHandle obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }