void DispatchTagEvents()

robot_2Generated
code_blocksInput

Description

The DispatchTagEvents method is responsible for triggering any animation tag events that are queued for the SceneModel. This method processes the tags associated with the model's animations and invokes the corresponding events.

Usage

Call DispatchTagEvents when you need to manually process and trigger animation tag events for a SceneModel. This is typically used in scenarios where you want to ensure that all pending tag events are executed, such as during a specific update cycle or after certain animations have been played.

Example

// Example of using DispatchTagEvents
SceneModel mySceneModel = new SceneModel();

// Assume some animations have been played and tag events are queued
mySceneModel.DispatchTagEvents();

// This will trigger any pending animation tag events associated with the SceneModel.