openEditScene(params?: OpenSceneEdit)

Requires:
@ray-js/ray≥1.4.32

Description

Navigate to the Edit Scene page

Parameters

ParameterTypeRequiredDescription
NoEdit scene parameters

Return Value

Type: Promise<void>
Promise for the navigation result; resolves on success, rejects on failure

Examples

import { openEditScene } from '@ray-js/ray';

const editScene = async () => {
  try {
    await openEditScene({
      devId: 'device_001',
      sceneId: 'scene_001',
    });
    console.log('Navigated to the scene editing page');
  } catch (err) {
    console.error('Navigation failed:', err);
  }
};