Add play and stop animation methods to RuntimeHost and update tests
This commit is contained in:
@@ -502,6 +502,12 @@ export class RuntimeHost {
|
||||
},
|
||||
toggleBrushVisibility: (brushId, visible) => {
|
||||
this.applyToggleBrushVisibilityAction(brushId, visible);
|
||||
},
|
||||
playAnimation: (instanceId, clipName) => {
|
||||
this.applyPlayAnimationAction(instanceId, clipName);
|
||||
},
|
||||
stopAnimation: (instanceId) => {
|
||||
this.applyStopAnimationAction(instanceId);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user