useCamera
function useCamera(
scope: Fusion.Scope
): Fusion.StateObject<Camera>
Returns a state object with the current camera. Updates when the current camera changes.
Parameters
scope : Fusion.Scope
The scope to store cleanup tasks.
Returns -> Fusion.StateObject<Camera>
A state object with the current camera.
Example Usage
-- TODO: write example