Subscene

The subscene tag loads a THREE JSON scene file into the existing scene. Geometry and textures are loaded and displayed. Animations and interactivity are loaded but not enabled. This is useful to load files built with the THREE editor. All resources must follow the browser’s Cross Origin Resource Sharing (CORS) requirements.

  • src – The URL to the JSON file. There are no default values.
  • position – The 3-space position relative to the current origin. The default is the origin. See Data Types -> position for more details.
  • rotation – The rotation about the X, Y, and Z-axis at this position relative to the current coordinate system. The default is no rotation, See Data Types -> rotation for more details.
  • scale – The scale of the imported content relative 1. See Data Types -> scale for more details.