public UsdEditTarget(SdfLayer layer, PcpNodeRef node) : this(UsdCsPINVOKE.new_UsdEditTarget__SWIG_6(SdfLayer.getCPtr(layer), PcpNodeRef.getCPtr(node)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public PcpNodeRef_ChildrenReverseIterator(PcpNodeRef node) : this(UsdCsPINVOKE.new_PcpNodeRef_ChildrenReverseIterator__SWIG_3(PcpNodeRef.getCPtr(node)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public PcpNodeRef InsertChildSubgraph(SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr subgraph, PcpArc arc) { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpNodeRef_InsertChildSubgraph(swigCPtr, SWIGTYPE_p_TfDeclarePtrsT_PcpPrimIndex_Graph_t__Ptr.getCPtr(subgraph), PcpArc.getCPtr(arc)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PcpNodeRef InsertChild(SWIGTYPE_p_PcpLayerStackSite site, PcpArc arc) { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpNodeRef_InsertChild(swigCPtr, SWIGTYPE_p_PcpLayerStackSite.getCPtr(site), PcpArc.getCPtr(arc)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PcpNodeRef GetNodeProvidingSpec(SdfLayerHandle layer, SdfPath path) { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpPrimIndex_GetNodeProvidingSpec__SWIG_1(swigCPtr, SdfLayerHandle.getCPtr(layer), SdfPath.getCPtr(path)), 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 SWIGTYPE_p_PcpPrimRange GetPrimRangeForNode(PcpNodeRef node) { SWIGTYPE_p_PcpPrimRange ret = new SWIGTYPE_p_PcpPrimRange(UsdCsPINVOKE.PcpPrimIndex_GetPrimRangeForNode(swigCPtr, PcpNodeRef.getCPtr(node)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
void WalkLayers(PcpNodeRef node, SdfLayerTreeHandle tree, int indent) { GUILayout.BeginHorizontal(); GUILayout.Space(indent * 20); EditorGUILayout.LabelField(tree.GetLayer().GetIdentifier()); GUILayout.EndHorizontal(); foreach (var childTree in tree.GetChildTrees()) { WalkLayers(node, childTree, indent++); } }
void WalkNodes(PcpNodeRef node) { GUI.enabled = node.HasSpecs(); EditorGUILayout.LabelField("[" + node.GetArcType().ToString().Replace("PcpArcType", "") + "] < " + node.GetPath() + ">"); WalkLayers(node, node.GetLayerStack().GetLayerTree(), 1); foreach (PcpNodeRef child in node.GetChildren()) { WalkNodes(child); } GUI.enabled = true; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PcpNodeRef obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PcpNodeRef GetRootNode() { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.PcpNodeRef_GetRootNode(swigCPtr), true); return(ret); }
public PcpNodeRef GetNode() { PcpNodeRef ret = new PcpNodeRef(UsdCsPINVOKE.UsdResolveInfo_GetNode(swigCPtr), true); return(ret); }