Class OscParameter
Provides a way to get/set OSC parameters and parameter values.
public static class OscParameter
- Inheritance
-
OscParameter
- Inherited Members
Properties
Parameters
A collection of OSC parameters.
public static OscParameterCollection Parameters { get; }
Property Value
Methods
GetValue(string)
Gets the value of an OSC parameter.
public static object? GetValue(string address)
Parameters
address
stringThe address of the OSC parameter.
Returns
SendAvatarParameter(string, MidiMessage)
Sends an OSC message with the specified BuildSoft.OscCore.MidiMessage value to the specified OSC address.
public static void SendAvatarParameter(string name, MidiMessage value)
Parameters
name
stringThe name of the OSC parameter.
value
MidiMessageThe value of the OSC parameter.
SendAvatarParameter(string, Color32)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Color32 value to the specified OSC address.
public static void SendAvatarParameter(string name, Color32 value)
Parameters
name
stringThe name of the OSC parameter.
value
Color32The value of the OSC parameter.
SendAvatarParameter(string, Vector2)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Vector2 value to the specified OSC address.
public static void SendAvatarParameter(string name, Vector2 value)
Parameters
name
stringThe name of the OSC parameter.
value
Vector2The value of the OSC parameter.
SendAvatarParameter(string, Vector3)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Vector3 value to the specified OSC address.
public static void SendAvatarParameter(string name, Vector3 value)
Parameters
name
stringThe name of the OSC parameter.
value
Vector3The value of the OSC parameter.
SendAvatarParameter(string, bool)
Sends an OSC message with the specified bool value to the specified OSC address.
public static void SendAvatarParameter(string name, bool value)
Parameters
SendAvatarParameter(string, byte[])
Sends an OSC message with the specified byte[] value to the specified OSC address.
public static void SendAvatarParameter(string name, byte[] value)
Parameters
SendAvatarParameter(string, char)
Sends an OSC message with the specified char value to the specified OSC address.
public static void SendAvatarParameter(string name, char value)
Parameters
SendAvatarParameter(string, double)
Sends an OSC message with the specified double value to the specified OSC address.
public static void SendAvatarParameter(string name, double value)
Parameters
SendAvatarParameter(string, int)
Sends an OSC message with the specified int value to the specified OSC address.
public static void SendAvatarParameter(string name, int value)
Parameters
SendAvatarParameter(string, long)
Sends an OSC message with the specified long value to the specified OSC address.
public static void SendAvatarParameter(string name, long value)
Parameters
SendAvatarParameter(string, object)
Sends an OSC message with the specified object value to the specified OSC address.
public static void SendAvatarParameter(string name, object value)
Parameters
SendAvatarParameter(string, float)
Sends an OSC message with the specified float value to the specified OSC address.
public static void SendAvatarParameter(string name, float value)
Parameters
SendAvatarParameter(string, string)
Sends an OSC message with the specified string value to the specified OSC address.
public static void SendAvatarParameter(string name, string value)
Parameters
SendValue(string, MidiMessage)
Sends an OSC message with the specified BuildSoft.OscCore.MidiMessage value to the specified OSC address.
public static void SendValue(string address, MidiMessage value)
Parameters
address
stringThe OSC address to send the message to.
value
MidiMessageThe value to send in the OSC message.
SendValue(string, Color32)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Color32 value to the specified OSC address.
public static void SendValue(string address, Color32 value)
Parameters
address
stringThe OSC address to send the message to.
value
Color32The value to send in the OSC message.
SendValue(string, Vector2)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Vector2 value to the specified OSC address.
public static void SendValue(string address, Vector2 value)
Parameters
address
stringThe OSC address to send the message to.
value
Vector2The value to send in the OSC message.
SendValue(string, Vector3)
Sends an OSC message with the specified BuildSoft.OscCore.UnityObjects.Vector3 value to the specified OSC address.
public static void SendValue(string address, Vector3 value)
Parameters
address
stringThe OSC address to send the message to.
value
Vector3The value to send in the OSC message.
SendValue(string, bool)
Sends an OSC message with the specified bool value to the specified OSC address.
public static void SendValue(string address, bool value)
Parameters
address
stringThe OSC address to send the message to.
value
boolThe value to send in the OSC message.
SendValue(string, byte[])
Sends an OSC message with the specified byte[] value to the specified OSC address.
public static void SendValue(string address, byte[] value)
Parameters
address
stringThe OSC address to send the message to.
value
byte[]The value to send in the OSC message.
SendValue(string, char)
Sends an OSC message with the specified char value to the specified OSC address.
public static void SendValue(string address, char value)
Parameters
address
stringThe OSC address to send the message to.
value
charThe value to send in the OSC message.
SendValue(string, double)
Sends an OSC message with the specified double value to the specified OSC address.
public static void SendValue(string address, double value)
Parameters
address
stringThe OSC address to send the message to.
value
doubleThe value to send in the OSC message.
SendValue(string, int)
Sends an OSC message with the specified int value to the specified OSC address.
public static void SendValue(string address, int value)
Parameters
address
stringThe OSC address to send the message to.
value
intThe value to send in the OSC message.
SendValue(string, long)
Sends an OSC message with the specified long value to the specified OSC address.
public static void SendValue(string address, long value)
Parameters
address
stringThe OSC address to send the message to.
value
longThe value to send in the OSC message.
SendValue(string, float)
Sends an OSC message with the specified float value to the specified OSC address.
public static void SendValue(string address, float value)
Parameters
address
stringThe OSC address to send the message to.
value
floatThe value to send in the OSC message.
SendValue(string, string)
Sends an OSC message with the specified string value to the specified OSC address.
public static void SendValue(string address, string value)
Parameters
address
stringThe OSC address to send the message to.
value
stringThe value to send in the OSC message.
Events
ValueChanged
An event that is raised when the value of an OSC parameter is changed.
public static event OscParameterChangedEventHandler<IReadOnlyOscParameterCollection> ValueChanged