public SdfPrimSpecHandle(SdfPrimSpecHandle handle) : this(UsdCsPINVOKE.new_SdfPrimSpecHandle__SWIG_2(SdfPrimSpecHandle.getCPtr(handle)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static SdfPrimSpecHandle New(SdfPrimSpecHandle parentPrim, string name, SdfSpecifier spec) { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.SdfPrimSpec_New__SWIG_3(SdfPrimSpecHandle.getCPtr(parentPrim), name, (int)spec), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfPrimSpecHandle GetPrimSpecForScenePath(SdfPath scenePath) { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.UsdEditTarget_GetPrimSpecForScenePath(swigCPtr, SdfPath.getCPtr(scenePath)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfPrimSpecHandle GetPrimAtPath(SdfPath path) { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.SdfPrimSpec_GetPrimAtPath(swigCPtr, SdfPath.getCPtr(path)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool InsertNameChild(SdfPrimSpecHandle child, int index) { bool ret = UsdCsPINVOKE.SdfPrimSpec_InsertNameChild__SWIG_0(swigCPtr, SdfPrimSpecHandle.getCPtr(child), index); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool RemoveNameChild(SdfPrimSpecHandle child) { bool ret = UsdCsPINVOKE.SdfPrimSpec_RemoveNameChild(swigCPtr, SdfPrimSpecHandle.getCPtr(child)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpecHandle_New__SWIG_2(swigCPtr, SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName)), 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 SdfPrimSpecHandle New(SdfLayerHandle parentLayer, string name, SdfSpecifier spec, string typeName) { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.SdfPrimSpecHandle_New__SWIG_0(swigCPtr, SdfLayerHandle.getCPtr(parentLayer), name, (int)spec, typeName), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName, SdfVariability variability) { SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpec_New__SWIG_1(SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName), (int)variability), 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 PcpNodeRef GetNodeProvidingSpec(SdfPrimSpecHandle primSpec) { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpPrimIndex_GetNodeProvidingSpec__SWIG_0(swigCPtr, SdfPrimSpecHandle.getCPtr(primSpec)), 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); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfPrimSpecHandle obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public SdfPrimSpecHandle GetRealNameParent() { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.SdfPrimSpec_GetRealNameParent(swigCPtr), true); return(ret); }
public SdfPrimSpecHandle GetPrimDefinition() { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.UsdPrim_GetPrimDefinition(swigCPtr), true); return(ret); }
public SdfPrimSpecHandle GetNameRoot() { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.SdfPrimSpecHandle_GetNameRoot(swigCPtr), true); return(ret); }
public SdfPrimSpecHandle GetSchemaClassPrimDefinition() { SdfPrimSpecHandle ret = new SdfPrimSpecHandle(UsdCsPINVOKE.UsdSchemaBase_GetSchemaClassPrimDefinition(swigCPtr), true); return(ret); }