fix: update connect method documentation to clarify socketPath behavior
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user