├── .gitignore ├── README.md ├── docs ├── UnityOSC & TouchOSC Integration.pdf ├── UnityOSC_manual.pdf └── doxygen │ └── html │ ├── UnityOSC_Logo.jpg │ ├── _o_s_c_bundle_8cs_source.html │ ├── _o_s_c_client_8cs_source.html │ ├── _o_s_c_handler_8cs_source.html │ ├── _o_s_c_helper_8cs_source.html │ ├── _o_s_c_message_8cs_source.html │ ├── _o_s_c_packet_8cs_source.html │ ├── _o_s_c_server_8cs_source.html │ ├── annotated.html │ ├── bc_s.png │ ├── class_o_s_c_handler-members.html │ ├── class_o_s_c_handler.html │ ├── class_o_s_c_helper-members.html │ ├── class_o_s_c_helper.html │ ├── class_unity_o_s_c_1_1_o_s_c_bundle-members.html │ ├── class_unity_o_s_c_1_1_o_s_c_bundle.html │ ├── class_unity_o_s_c_1_1_o_s_c_bundle.png │ ├── class_unity_o_s_c_1_1_o_s_c_client-members.html │ ├── class_unity_o_s_c_1_1_o_s_c_client.html │ ├── class_unity_o_s_c_1_1_o_s_c_message-members.html │ ├── class_unity_o_s_c_1_1_o_s_c_message.html │ ├── class_unity_o_s_c_1_1_o_s_c_message.png │ ├── class_unity_o_s_c_1_1_o_s_c_packet-members.html │ ├── class_unity_o_s_c_1_1_o_s_c_packet.html │ ├── class_unity_o_s_c_1_1_o_s_c_packet.png │ ├── class_unity_o_s_c_1_1_o_s_c_server-members.html │ ├── class_unity_o_s_c_1_1_o_s_c_server.html │ ├── classes.html │ ├── closed.png │ ├── doxygen.css │ ├── doxygen.png │ ├── files.html │ ├── ftv2blank.png │ ├── ftv2doc.png │ ├── ftv2folderclosed.png │ ├── ftv2folderopen.png │ ├── ftv2lastnode.png │ ├── ftv2link.png │ ├── ftv2mlastnode.png │ ├── ftv2mnode.png │ ├── ftv2node.png │ ├── ftv2plastnode.png │ ├── ftv2pnode.png │ ├── ftv2splitbar.png │ ├── ftv2vertline.png │ ├── functions.html │ ├── functions_func.html │ ├── hierarchy.html │ ├── index.html │ ├── jquery.js │ ├── namespace_unity_o_s_c.html │ ├── namespaces.html │ ├── nav_f.png │ ├── nav_h.png │ ├── navtree.css │ ├── navtree.js │ ├── open.png │ ├── resize.js │ ├── struct_client_log-members.html │ ├── struct_client_log.html │ ├── struct_server_log-members.html │ ├── struct_server_log.html │ ├── tab_a.png │ ├── tab_b.png │ ├── tab_h.png │ ├── tab_s.png │ └── tabs.css ├── src ├── Editor │ └── OSCHelper.cs └── OSC │ ├── OSCBundle.cs │ ├── OSCClient.cs │ ├── OSCHandler.cs │ ├── OSCMessage.cs │ ├── OSCPacket.cs │ └── OSCServer.cs └── tests └── touchosc_integration ├── Assets ├── TestScene.unity ├── TestScene.unity.meta ├── WSATestCertificate.pfx ├── WSATestCertificate.pfx.meta ├── oscControl.cs └── oscControl.cs.meta └── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | 32 | # ========================= 33 | # Operating System Files 34 | # ========================= 35 | 36 | # OSX 37 | # ========================= 38 | 39 | .DS_Store 40 | .AppleDouble 41 | .LSOverride 42 | 43 | # Thumbnails 44 | ._* 45 | 46 | # Files that might appear in the root of a volume 47 | .DocumentRevisions-V100 48 | .fseventsd 49 | .Spotlight-V100 50 | .TemporaryItems 51 | .Trashes 52 | .VolumeIcon.icns 53 | 54 | # Directories potentially created on remote AFP share 55 | .AppleDB 56 | .AppleDesktop 57 | Network Trash Folder 58 | Temporary Items 59 | .apdisk 60 | 61 | # Windows 62 | # ========================= 63 | 64 | # Windows image file caches 65 | Thumbs.db 66 | ehthumbs.db 67 | 68 | # Folder config file 69 | Desktop.ini 70 | 71 | # Recycle Bin used on file shares 72 | $RECYCLE.BIN/ 73 | 74 | # Windows Installer files 75 | *.cab 76 | *.msi 77 | *.msm 78 | *.msp 79 | 80 | # Windows shortcuts 81 | *.lnk 82 | 83 | #mywork 84 | *.swp 85 | tests/touchosc_integration/Assets/Editor* 86 | tests/touchosc_integration/Assets/OSC* 87 | tests/touchosc_integration/Library 88 | tests/touchosc_integration/Temp 89 | tests/touchosc_integration/UWP 90 | tests/touchosc_integration/App 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ## This version support HoloLens(UWP) forked from UnityOSC v1.2. 3 | 4 | by littilewing 5 | 6 | 7 | ## UnityOSC v1.2. 8 | 9 | Open Sound Control classes and API for the Unity 3d game engine 10 | 11 | Based on Bespoke Open Sound Control Library by Paul Varcholik (pvarchol@bespokesoftware.org). 12 | Licensed under MIT license. 13 | 14 | ##How to use 15 | 16 | Copy the src/Editor folder contents to the corresponding Editor/ folder of your Unity project. The rest can go to your e.g. Assets/ folder of the same project. 17 | 18 | ## Documentation and examples of usage 19 | 20 | docs/doxygen/html/index.html 21 | 22 | docs/UnityOSC_manual.pdf 23 | 24 | docs/UnityOSC & TouchOSC Integration.pdf 25 | 26 | Please head to the tests/ folder for examples of usage and a TouchOSC test Unity project. 27 | 28 | ## TODO 29 | 30 | 07.11 Change string concatenations to C# string builders. 31 | -------------------------------------------------------------------------------- /docs/UnityOSC & TouchOSC Integration.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the6th/UnityOSC-HoloLens/b0c16ecf7482f3ced8b211dc8c6723683fe1cfed/docs/UnityOSC & TouchOSC Integration.pdf -------------------------------------------------------------------------------- /docs/UnityOSC_manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the6th/UnityOSC-HoloLens/b0c16ecf7482f3ced8b211dc8c6723683fe1cfed/docs/UnityOSC_manual.pdf -------------------------------------------------------------------------------- /docs/doxygen/html/UnityOSC_Logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/the6th/UnityOSC-HoloLens/b0c16ecf7482f3ced8b211dc8c6723683fe1cfed/docs/doxygen/html/UnityOSC_Logo.jpg -------------------------------------------------------------------------------- /docs/doxygen/html/annotated.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
ClientLog | Models a log of a client composed by an OSCClient, a List of OSCMessage and a List of strings that represent the current messages in the log |
UnityOSC.OSCBundle | Models a Bundle of the OSC protocol. Derived from a OSC Packet over a OSC Stream |
UnityOSC.OSCClient | Dispatches OSC messages to the specified destination address and port |
OSCHandler | Handles all the OSC servers and clients of the current Unity game/application. Tracks incoming and outgoing messages |
OSCHelper | Helper to monitor incoming at outgoing OSC messages from the Unity Editor. You should have this script placed at the /Editor folder. Show the panel helper by selecting "Window->OSC Helper" from the Unity menu |
UnityOSC.OSCMessage | |
UnityOSC.OSCPacket | Models a OSC Packet over an OSC stream |
UnityOSC.OSCServer | Receives incoming OSC messages |
ServerLog | Models a log of a server composed by an OSCServer, a List of OSCPacket and a List of strings that represent the current messages in the log |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
Clients (defined in OSCHandler) | OSCHandler | |
CreateClient(string clientId, IPAddress destination, int port) | OSCHandler | |
CreateServer(string serverId, int port) | OSCHandler | |
Init() | OSCHandler | |
Instance (defined in OSCHandler) | OSCHandler | [static] |
SendMessageToClient< T >(string clientId, string address, T value) | OSCHandler | |
SendMessageToClient< T >(string clientId, string address, List< T > values) | OSCHandler | |
Servers (defined in OSCHandler) | OSCHandler | |
UpdateLogs() | OSCHandler |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
Helper to monitor incoming at outgoing OSC messages from the Unity Editor. You should have this script placed at the /Editor folder. Show the panel helper by selecting "Window->OSC Helper" from the Unity menu. 90 | More...
91 | 92 | 93 |Helper to monitor incoming at outgoing OSC messages from the Unity Editor. You should have this script placed at the /Editor folder. Show the panel helper by selecting "Window->OSC Helper" from the Unity menu.
97 | 98 |Definition at line 32 of file OSCHelper.cs.
99 |![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
ClientIPAddress (defined in UnityOSC.OSCClient) | UnityOSC.OSCClient | |
Close() | UnityOSC.OSCClient | |
Connect() | UnityOSC.OSCClient | |
OSCClient(IPAddress address, int port) (defined in UnityOSC.OSCClient) | UnityOSC.OSCClient | |
Port (defined in UnityOSC.OSCClient) | UnityOSC.OSCClient | |
Send(OSCPacket packet) | UnityOSC.OSCClient |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
_address (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [protected] |
_binaryData (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [protected] |
_data (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [protected] |
_timeStamp (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [protected] |
Address (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | |
Append< T >(T msgvalue) (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [pure virtual] |
BinaryData (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | |
Data (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | |
IsBundle() (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [pure virtual] |
OSCPacket() | UnityOSC.OSCPacket | |
Pack() (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | [pure virtual] |
PackValue< T >(T value) | UnityOSC.OSCPacket | [protected, static] |
PadNull(List< byte > data) | UnityOSC.OSCPacket | [protected, static] |
SwapEndian(byte[] data) | UnityOSC.OSCPacket | [protected, static] |
TimeStamp (defined in UnityOSC.OSCPacket) | UnityOSC.OSCPacket | |
Unpack(byte[] data) | UnityOSC.OSCPacket | [static] |
Unpack(byte[] data, ref int start, int end) | UnityOSC.OSCPacket | [static] |
UnpackValue< T >(byte[] data, ref int start) | UnityOSC.OSCPacket | [protected, static] |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
Close() | UnityOSC.OSCServer | |
Connect() | UnityOSC.OSCServer | |
LastReceivedPacket (defined in UnityOSC.OSCServer) | UnityOSC.OSCServer | |
LocalPort (defined in UnityOSC.OSCServer) | UnityOSC.OSCServer | |
OSCServer(int localPort) (defined in UnityOSC.OSCServer) | UnityOSC.OSCServer | |
UDPClient (defined in UnityOSC.OSCServer) | UnityOSC.OSCServer |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
/Users/jorgegarciamartin/Desktop/src/OSCHandler.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/Editor/OSCHelper.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/UnityOSC/OSCBundle.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/UnityOSC/OSCClient.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/UnityOSC/OSCMessage.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/UnityOSC/OSCPacket.cs [code] | |
/Users/jorgegarciamartin/Desktop/src/UnityOSC/OSCServer.cs [code] |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
89 | Classes | |
class | OSCBundle |
Models a Bundle of the OSC protocol. Derived from a OSC Packet over a OSC Stream. More... | |
class | OSCClient |
Dispatches OSC messages to the specified destination address and port. More... | |
class | OSCMessage |
class | OSCPacket |
Models a OSC Packet over an OSC stream. More... | |
class | OSCServer |
Receives incoming OSC messages. More... |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
UnityOSC |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
Models a log of a client composed by an OSCClient, a List of OSCMessage and a List of strings that represent the current messages in the log. 92 | More...
93 | 94 | 95 |97 | Public Attributes | |
99 | OSCClient | client |
101 | List< OSCMessage > | messages |
103 | List< string > | log |
Models a log of a client composed by an OSCClient, a List of OSCMessage and a List of strings that represent the current messages in the log.
107 | 108 |Definition at line 43 of file OSCHandler.cs.
109 |![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
![]() |
29 |
30 | UnityOSC 1.0
31 | Open Sound Control classes and API for the Unity 3d game engine (http://www.unity3d.com)
32 | |
33 |
Models a log of a server composed by an OSCServer, a List of OSCPacket and a List of strings that represent the current messages in the log. 92 | More...
93 | 94 | 95 |97 | Public Attributes | |
99 | OSCServer | server |
101 | List< OSCPacket > | packets |
103 | List< string > | log |
Models a log of a server composed by an OSCServer, a List of OSCPacket and a List of strings that represent the current messages in the log.
107 | 108 |Definition at line 32 of file OSCHandler.cs.
109 |