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); }
public static SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpec_New__SWIG_2(SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName, SdfVariability variability) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpecHandle_New__SWIG_1(swigCPtr, SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName), (int)variability), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfAttributeSpecHandle GetAttributeAtPath(SdfPath path) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfPrimSpec_GetAttributeAtPath(swigCPtr, SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfAttributeSpecHandle(SdfAttributeSpecHandle handle) : this(UsdCsPINVOKE.new_SdfAttributeSpecHandle__SWIG_2(SdfAttributeSpecHandle.getCPtr(handle)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfAttributeSpecHandle obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public void RemoveAttributeForTargetPath(SdfPath path, SdfAttributeSpecHandle attr) { UsdCsPINVOKE.SdfRelationshipSpecHandle_RemoveAttributeForTargetPath(swigCPtr, SdfPath.getCPtr(path), SdfAttributeSpecHandle.getCPtr(attr)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool InsertAttributeForTargetPath(SdfPath path, SdfAttributeSpecHandle attr) { bool ret = UsdCsPINVOKE.SdfRelationshipSpecHandle_InsertAttributeForTargetPath__SWIG_1(swigCPtr, SdfPath.getCPtr(path), SdfAttributeSpecHandle.getCPtr(attr)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }