API Usage
By default when PlayAnimation is called, the animation name is automatically sent to SetEffectName(). In order to disable the default behaviour set the toggle to false. PlayAnimation() as shown above is called for each device category. It will be more efficent to use SetEventName() once for the Chroma Animation set. Manual mode gives the title explicit control over when SetEventName() is called.
bool toggle = false; // manual mode
ChromaAnimationAPI.UseForwardChromaEvents(toggle);
if (toggle)
{
// When PlayAnimation is used, the name is sent to SetEventName().
}
else
{
// The PlayAnimation name is not forwarded.
}
Still stuck? Come to our Discord and we will help you out!