useSceneHasKey

Returns whether the scene has a key or a scale to show: what SceneKey would draw.

@internote/canvas-sdk/hostHook
On this page
import { useSceneHasKey } from '@internote/canvas-sdk/host';

Asks every environment in the scene for its footer, as the footer does, so the scene's environment list must not change for the caller's lifetime.

#Signature

(scene: HeadlessScene): boolean

#Parameters

scene
The scene.

Declared in packages/canvas-sdk/src/host/SceneFooter.tsx:115.

Last updated