Description
Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts
TheOSCSocket API lets you send and receive Open Sound Control packets.
Despite the name, OSC is commonly used with VR applications too. It is used by some
tracking and haptic systems that aren't exposed through OpenVR or OpenXR.
Overte doesn't have any built-in OSC functionality; OSC is only useful with scripts.
https://opensoundcontrol.stanford.edu/spec-1_0.htmlProperties
| Name | Type | Summary |
|---|---|---|
| receiveHost | string |
IP address for receiving OSC packets.
|
| receivePort | number |
IP port for receiving OSC packets.
|
| sendHost | string |
IP address to send OSC packets to.
|
| sendPort | number |
IP port to send OSC packets to.
|
Methods
| Name | Return Value | Summary |
|---|---|---|
sendPacket
|
None |
Sends an encoded OSC packet. OSC bundles are not supported. |
Signals
| Name | Summary |
|---|---|
packetReceived
|
Triggered when an OSC packet is received. OSC bundles are not supported. |
Type Definitions
|
TypedArgument Type: Object |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Primarily for differentiating between OSC integers and floats,
since
Properties
|
Method Details
| (static) sendPacket( address, …argumentsopt ) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Sends an encoded OSC packet. OSC bundles are not supported. Parameters
|
Signal Details
|
packetReceived(
address,
arguments
)
Returns: Signal |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Triggered when an OSC packet is received. OSC bundles are not supported. Parameters
|
