unreal.OSCClient

class unreal.OSCClient(outer=None, name='None')

Bases: unreal.Object

C++ Source:

  • Plugin: OSC

  • Module: OSC

  • File: OSCClient.h

get_send_ip_address(ip_address, port) -> (ip_address=str, port=int32)

Gets the OSC Client IP address and port.

Parameters
  • ip_address (str) –

  • port (int32) –

Returns

ip_address (str):

port (int32):

Return type

tuple

send_osc_bundle(bundle)OSCBundle

Send OSC Bundle over the network.

Parameters

bundle (OSCBundle) –

Returns

bundle (OSCBundle):

Return type

OSCBundle

send_osc_message(message)OSCMessage

Send OSC message to a specific address.

Parameters

message (OSCMessage) –

Returns

message (OSCMessage):

Return type

OSCMessage

set_send_ip_address(ip_address, port)bool

Sets the OSC Client IP address and port. Returns whether address and port was successfully set.

Parameters
  • ip_address (str) –

  • port (int32) –

Returns

Return type

bool