fix: update connect method documentation to clarify socketPath behavior

This commit is contained in:
MayaTheShy
2025-11-09 00:00:53 -05:00
parent c67e4172e2
commit 829cd8ccc9

View File

@@ -17,9 +17,10 @@ public:
using NodeId = std::uint64_t;
// Connect to the StardustXR compositor via IPC.
// Returns true on success. If socketPath is empty, uses defaultSocketPath().
// Returns true on success. Searches standard socket locations if socketPath is empty.
bool connect(const std::string& socketPath = {});
// Create a 3D node with an initial transform. Optionally parent it.
NodeId createNode(const std::string& name,
const glm::mat4& transform = glm::mat4(1.0f),