Component:OSC Field

From Resonite Wiki
Revision as of 20:01, 30 April 2024 by ProbablePrime (talk | contribs)
Component image 
OSC Field`1 component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Handler OSC_Handler The Component:OSC_Receiver or Component:OSC_Sender to be used with this component.
Path String The OSC Path for this value.
ArgumentIndex Int For Multi-Dimensional OSC Values, this specifies which value to retrieve or send.
Field direct RelayRef`1<IField`1<T>> The Field to store the value in.

Behavior

Receiving

When Handler, is set to a valid and IsListening, OSC Reciever, if OSC Data is found at the specified Path. The value from OSC will be set on the Field specified.

Sending

When Handler, is set to a valid, OSC Sender.

If the SendMode of the OSC_Receiver, is set to SendAsBundles, then it will bundle up all other OSC Value component's values and send them all as a bundle.

If the SendMode of the OSC_Receiver, is set to SendIndividually, then Resonite will send the value within the specified Field, as an OSC message on the OSC Path in Path.

Resonite will send data each time it changes or again every AutoResendInterval on the OSC_Sender.

Examples

See Also