Scene

This is the primary XSeen tag. The XSeen system only looks at this tag and it’s children. At this time only one XSeen tag is allowed per HTML iframe. All XSeen tags that are children of this tag are parsed and the scene graph is defined. Non-XSeen tags are allowed as children; however, XSeen does not process children of non-XSeen tags.

XSeen creates the HTML canvas tag as a child of this tag.

The attributes of this tag define the XSeen operating environment and include the following:

  • height – The height of the HTML region that XSeen can use. The minimum value is 150px.
  • width – The width of the HTML region that XSeen can use. The minimum value is 150px.
  • transparent – The background of the scene area is transparent showing the page background. This attribute is required to be set to true if the usecamera attribute of background is to have any effect.
  • src – An external XSeen file in XML encoding that is to be loaded from the external source and loaded into the DOM as the last child of the scene tag. It is the users responsibility to ensure that all normal HTML5 rules are followed (e.g., unique id attribute values).