Scene helpers

Function Returns Description
GetSceneByName(name: string) Scene Returns the scene with the given name, or null if no scene matches.
SetActiveScenePreview(sceneName: string) bool Asks the host application (Desktop) to switch its scene-preview view to the named scene by sending a SetActiveScenePreview message. Scene name comparison is case-insensitive. Returns false if no scene matches.
FitScenePreviewToScreen() void Asks the host application (Desktop) to fit the active scene preview to the available screen area by sending a FitScenePreviewToScreen message.