Class: Peer
WebSGNetworking.Peer
Table of contents
Constructors
Accessors
Methods
Constructors
constructor
• new Peer()
Accessors
id
• get
id(): string
Returns
string
Defined in
isHost
• get
isHost(): boolean
Returns
boolean
Defined in
isLocal
• get
isLocal(): boolean
Returns
boolean
Defined in
rotation
• get
rotation(): Quaternion
Returns
Defined in
translation
• get
translation(): Vector3
Returns
Defined in
Methods
send
▸ send(message
, reliable
): undefined
Parameters
Name | Type |
---|---|
message | string | ArrayBuffer |
reliable | boolean |
Returns
undefined