The structure below outlines how to configure glTF interactivity test assets using a standardized approach. It leverages a custom event with the ID onTestEnd to indicate when a test is complete and to provide result details, including information about the test outcome.
To help test runners understand the expected duration of a test, test assets SHOULD include a property at the graph entry level of the KHR_interactivity extension the anticipated completion time in milliseconds.
KHR_interactivity:{
graphs: [
{
extras: {
expectedTestTime: number