JanusVR Documentation

[BUILD] Markup Language: Room Tag & Contents

<Room>
<Object>
<Text>
<Paragraph>
<Link>
<Image>
<Sound>
<Video>
<Ghost>
<Particle>
<Light>

Room

Having defined a list of assets via the Assets Tag, we are now ready to place them within the webspace. The <room></room> section of any webspace contains a list of assets that will appear within the webspace when viewed through JanusVR.

EXAMPLE:

The following example defines an AssetImage named "tree" and then places a copy in the environment at position 0 0 0. The entrance portal is located at 0 0 5 via the pos attribute attached to the Room tag.

<FireBoxRoom>
 <Assets>
  <AssetImage id="tree" src="testimage.jpg" ></AssetImage>
 </Assets>
 <Room pos="0 0 5">
  <Image id="tree" pos="0 0 0" ></Image>
 </Room>
</FireBoxRoom>

Attributes: