多人协同

支持IdeaVR多人协同。

全局

sendMessage(variableName: str, value: Union[int, float, str, vec3, vec4, mat4])

发送同步消息
参数
- variableName: 消息名
- value: 消息内容,类型可为int、float、str、vec3、vec4、mat4

isConnectNetCollaboration() -> bool

是否连接了多人协同
返回值
- true表示连接,false表示未连接

isHost() -> bool

是否是房间主
返回值
- true表示是房间主,false表示不是房间主