Back to Demos

This demo shows how you can add nodes to a scene.


var api = claraplayer('player');

['fullscreen', 'home', 'vrSettings', 'orbit', 'pan'].map(api.player.hideTool);

/**
 * NOTE: removal of these tools results in mouse wheel events
 * going unhandled by our player.
 */
['zoom', 'nodeManipulate'].map(api.player.removeTool);

api.commands.setCommandOptions('orbit', {
  turnTable: true,
  mobileOnly: false,
  touchVerticalDefault: true,
});

api.sceneIO.fetchAndUse('aecb8d82-6bf3-4552-8ca7-ea2d39ea29a4');