Navigation: TheoremXR Applications > Config.xml

Send comments on this topic.

  

 

Config Launch

 

Allows for the launch of an app with predefined options in the options panel. This is useful where there are multiple deployments across a site where the users should share the same options. To set predefined options a 'config.xml' needs to be created.

 

The 'config.xml' file needs to be created and placed within the same directory as the executable for the the application. This allows an organisation to set up the server configuration for the application across all devices without the need for individual users to manually set up and implement the servers details on each device.

 

Example 'config.xml' file for RE:

 

<ConfigParameters>

          <UseTransitioning>false</UseTransitioning>

          <RenderDoubleSided>false</RenderDoubleSided>

          <EmulatedHeightAsMetres>true</EmulatedHeightAsMetres>

          <PreDefinedURLsTitle>Title</PreDefinedURLsTitle>

          <EmulatedHeightValue>1.52</EmulatedHeightValue>

          <LowModelLoadQualityThreshold>490</LowModelLoadQualityThreshold>

          <HighModelLoadQualityThreshold>190</HighModelLoadQualityThreshold>

          <PreDefinedURLs>

                    <ConfigurationFileURL Name="URL" Description="Name" />

          </PreDefinedURLs>

</ConfigParameters>

 

This example can be downloaded from here.

 

NOTE: Please remember to replace "URL" and "Name" in 'ConfigurationFileURL' with the desired address and name to be shown. This can be expanded by adding more  <ConfigurationFileURL Name="URL" Description="Name" />

 

Attribute Tables

 

The rest of the options are below with their inputs:

          

Attribute

Description

Valid Input

UseTransitioning

When enabled the model will use transitioning.

true, false

RenderDoubleSided

When enabled the model with render double sided.

true, false

PreDefinedURLsTitle

Set the title to describe the URLs that will be used by the user.

String

LowModelLoadQualityThreshold

Set the lower limit threshold for the model load quality.

MB: 0 to 1000

HighModelLoadQualityThreshold

Sets the upper limit threshold for the model load quality.

MB: 0 to 1000

PreDefinedURLs

Attribute that contains sub attributes for each URL.

<ConfigurationFileURL/>

ConfigurationFileURL

Each attribute contains the information for one predefined server. Multiple attributes can be added to set multiple usable predefined servers for the user.

Name="<URL>" Description="<Name>"

RE Only: EmulatedHeightValue

A value to set the height at which the users main camera is emulated from the ground.

Metres: 1.50 to 2

Feet: 4'11" to 6'6"

RE Only: EmulatedHeightAsMetres

When enabled the value provided in the above attribute is measured in metres, when disabled it defaults to using feet.

0 to 1000