Skip to main content

How to SetCamera

In this section, we'll explore how to use the SetCamera method available via useZakeke.

The SetCamera method allows you to set the camera view using a saved camera ID. Here's how it works:

  • Create Cameras in the Scene Editor In the back-office Scene Editor, define the cameras you need (e.g., front camera, top camera).

  • Select Cameras in Composer When editing a group or attribute in Composer, you'll find the camera selection option in the last section of the dialog.

  • Save and Associate Camera IDs After saving, the selected camera is associated with an ID for the group or attribute. This ID is accessible on the front end and can be used to set the camera view programmatically.