import { ThreekitProvider, Player, Snapshots } from '@threekit-tools/treble';
const Component = () => {
return (
<ThreekitProvider>
<Player>
<Player.TopRightWidgets>
<Snapshots
cameras={[
'100-Cantilevered',
'100-Post Supported',
'100-Hanger Rod Supported',
]}
config={{ format: 'jpeg' }}
/>
</Player.TopRightWidgets>
</Player>
</ThreekitProvider>
);
};
Hi,
I have created three cameras placed at different angles, and I want to capture a snapshot from each camera using treble-widgets-snapshots. However, I am getting snapshots from the default camera for all three instead of from their respective cameras.
I have created a string attribute named _camera with the following values:
100-Cantilevered
100-Post Supported
100-Hanger Rod Supported
I have also added these values to the cameras array in treble-widgets-snapshots.
Could you please help me understand why the snapshots are still being captured from the default camera and how to resolve this issue?
also find the attachment below for more details.
Thanks,
Shashi.
Thanks

