7#include "../AI/BehaviorTree.h"
8#include "../third_party/imnodes/imnodes.h"
11namespace NodeGraphShared {
15 const BTNodeLayout*
layout,
ComponentTypeID GetComponentTypeID_Static()
Helper functions for rendering node graph pins and connections.
void DrawPinCircle(ImDrawList *drawList, const ImVec2 ¢er, float radius, ImU32 fillColor, ImU32 outlineColor, float outlineThickness)
ImVec2 ComputePinCenterScreen(int nodeId, const BTNodeLayout *layout, bool isOutput, float pinOffset, float headerPx, float currentZoom)
Compute the screen-space center position of a pin.
< Provides AssetID and INVALID_ASSET_ID