Skip to content

Cycle posters on click

Updated

A poster on a gallery wall shows the next picture each time it is clicked, fitted inside 1.6 × 1.6 m with sizing auto, and the script logs each image’s pixel size from its ready event.

Click the poster to show the next picture; the log gives each one's size. Drag to orbit the camera, scroll to zoom.

Cycle posters on click

The script is explained step by step in Cycle posters on click.

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

PosterCycle.xrproj