wiki:SendingBML

Sending BML

Use a unique ids

Each BML block sent to the realizer should have a unique id. Behaviors should have a unique id within the block, but may have the same behaviorid as behaviors in other blocks.

Reseting the realizer

The realizer can be reset using

<bml id="clear" composition="REPLACE"/>

This will interrupt all ongoing behavior, remove all scheduled behavior, restore the rest pose and set the virtual character in this pose.

Composing behavior out of multiple BML blocks

This can be done using BMLA, see BMLA#TheBMLABMLattributes.

Enabling blinking and breathing

Special BML behaviors are used to enable blinking and breathing, they are to be sent once at the start of your program. See EmitterEngine for details.