Set Playback Dimensions
Applies viewport dimensions to playback camera.
Syntax
store.dispatch({ type: "SET_PLAYBACK_DIMENSIONS", payload: dimensions });
Parameters
dimensions
The target viewport dimensions to set the playback camera to.
Examples
Switches the viewport dimensions to high-definition (1080p) resolution.
store.dispatch({
type: "SET_PLAYBACK_DIMENSIONS",
payload: { width: 1920, height: 1080 }
});