mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-09 00:09:43 +00:00
43 lines
941 B
Markdown
43 lines
941 B
Markdown
UE4-OSC
|
|
=======
|
|
|
|
OSC plugin for Unreal Engine 4 Blueprints
|
|
|
|
|
|
Integration
|
|
===========
|
|
|
|
Put the "OSC" folder in a "Plugins" folder in the project root.
|
|
|
|
e.g. "/MyProject/Plugins/OSC"
|
|
|
|
|
|
Usage
|
|
=====
|
|
|
|
- Receiver:
|
|
|
|
Set the listening port in the plugin settings.
|
|
|
|
Add a OscReceiverComponent to your Blueprint class and bind the OnOscReceived custom event, or
|
|
|
|
Subclass the OscReceiverActor and bind the OnOscReceived custom event.
|
|
|
|
Use the PopFloat/Int/Bool/String functions, or standard array functions, to retrieve the OSC message parameters.
|
|
|
|
|
|
- Sender:
|
|
|
|
Set the "send to" addresses in the plugin settings.
|
|
|
|
Use the PushFloat/Int/Bool/String functions, or standard array functions, to build the OSC message parameters.
|
|
|
|
Use the SendOsc function to send the OSC message
|
|
|
|
|
|
Engine version
|
|
=====
|
|
Tested on UE 4.4, UE 4.5 (Windows, MacOSX)
|
|
|
|
Set the OSC_ENGINE_VERSION value (in Source/OSC/Private/Osc.h) to compile for a specific engine version.
|