Navigation
API > API/Plugins > API/Plugins/OSC
References
| Module | OSC |
| Header | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCPacket.h |
| Include | #include "OSCPacket.h" |
Syntax
class IOSCPacket
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | IPAddress | ||
| uint16 | Port |
Constructors
| Type | Name | Description | |
|---|---|---|---|
IOSCPacket () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~IOSCPacket () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IOSCPacket > | CreatePacket
(
const uint8* InPacketType, |
Create an OSC packet according to the input data. | |
| const FString & | GetIPAddress () |
Get endpoint IP address responsible for creation/forwarding of packet | |
| uint16 | GetPort () |
Get endpoint address responsible for creation/forwarding of packet | |
| bool | IsBundle () |
Returns true if packet is bundle | |
| bool | IsMessage () |
Returns true if packet is message | |
| void | ReadData
(
FOSCStream& OutStream |
Read packet data from stream | |
| void | WriteData
(
FOSCStream& OutStream |
Write packet data into stream |