SettingStrings¶
Enumeration SettingStrings
Index
Enumeration Members
Enumeration Members
ADDITIONAL_ COOKIES
ADDITIONAL_ REQUEST_ HEADERS
Specifies additional request headers
ADDITIONAL_ WS_ QUERY_ PARAMETERS
Allows to specify additional key-value pairs passed as query parameters to the WebSocket URI. The following keys are currently not allowed "token", "memberId".
APPLICATION_ IDENTIFIER
Represents a custom application identifier that is transmitted alongside the usage data to the instant3Dhub.
Default
undefined
AUX_ MODE_ RECURSIVE_ SEARCH
Set if aux mode searches attached faces recursively
AUX_ MODE_ UNCOLOR_ FACES_ ON_ LEAVE
Uncolor all faces when leaving the aux mode
BOOSTER_ URL
The endpoint where webvis tries to connect to the booster
CAPPING_ GEOMETRY_ COLOR
Specifies the color of the capping geometries
CONTEXT_ MENU_ FUNCTION
Deprecated
SettingStrings.CONTEXT_MENU_FUNCTION is deprecated, please use UISetting.CONTEXT_MENU_FUNCTION and the getSetting/setSetting functions on the webvisUI-Object"
A function to modify the context menu's contents This function has as argument: the array with the entries by default of the context menu; and consequently it is expected as a return value, the entries that are wanted to be shown in the context menu:
All default entries will be shown: function(defaultEntries){return defaultEntries}
All default entries will be shown, but without the first entry: function(defaultEntries){ firstEntryPosition = 1; defaultEntries.splice(firstEntryPosition - 1, 1); return defaultEntries; }
Swapping the first and second entries: function(defaultEntries){ firstEntryPosition = 1; secondEntryPosition = 2; firstEntry = defaultEntries.splice(firstEntryPosition - 1, 1)[0]; defaultEntries.splice(secondEntryPosition - 1, 0, firstEntry); return defaultEntries; }
Changing the functionality of the second entry: function(defaultEntries){ secondEntryPosition = 2; secondEntryDefaultCommand = defaultEntries[secondEntryPosition - 1].command; defaultEntries[secondEntryPosition - 1].command = function(nodeId, pickInfo){ console.log("Second Entry was Executed", nodeId, pickInfo); webvis.getProperty(nodeId, "label").then( function(label){ webvis.postInfo("
"; }); secondEntryDefaultCommand(); }; return defaultEntries; }Node: " + nodeId + " Label: " + label + " 2D Coords: " + pickInfo.canvasCoords + " 3D Pos: " + pickInfo.position)+" Inserting a new entry in the menu at the third position: function(defaultEntries){ newEntry = { label : "Set Current Language", subEntries : [ { label : "English", command : function(){webvis.changeSetting("language", "en")} }, { label : "Deutsch", command : function(){webvis.changeSetting("language", "de")} }, { label : "Español", command : function(){webvis.changeSetting("language", "es")} } ] }; newEntryPosition = 3; defaultEntries.splice(newEntryPosition - 1, 0, newEntry); return defaultEntries; }
Inserting a new entry in the menu, which will appear only after the condition is fulfilled, (e.g. When the node is an Aux node) function (defaultEntries) { const newEntry = { label : "Custom entry visible only when condition is fulfilled" , command : function(nodeID){webvis.postInfo("Custom entry clicked on Aux node:" + nodeID + "!!!")} , condition : function(nodeID){return webvis.getNodeType(nodeID) == webvis.NodeType.AUX} }; defaultEntries.push(newEntry); return defaultEntries; }
DEFAULT_ QUERY_ LINK_ DEPTH
Default value for the link depth (resource links) for queries
DISABLE_ DEFAULT_ INTERACTION
Scaling factor for the the gizmo geometries
HUB_ URL
INITIAL_ STATE_ ACTIVATION
Check for initial state activation
Experimental
LOAD_ REMOTE_ CONFIG_ FILE
Specifies if the configuration file of the instant3Dhub installation gets applied.
LOG_ LEVEL
Sets the log level
MAX_ ACTIVE_ SCENE_ VOLUME_ DIAMETER
This limits the range of the active scene volume
MAX_ CONCURRENT_ DOWNLOADS
Maximum number of concurrent downloads
MEASUREMENT_ ANGULAR_ TOLERANCE
Angular tolerance for measurements, in degrees. This value can be used to treat almost-perpendicular cases as perpendicular, which allows to measure orthogonal distances between almost-perpendicular planes or lines.
MEASUREMENT_ MATERIAL_ DENSITIES
Measurement materials densities. The is parsed as JSON and contains a map from material to density factor.
NOTIFICATION_ LOG_ LEVELS
Log levels activated for notifications. The value is an array of s. Valid entries are "INFORMATION", "WARNING" and "ERROR".
PARENT_ SELECT_ ENABLED
Enables/disables the parent select feature
PREFER_ XHR_ WITH_ CREDENTIALS
Hint about the usage of credentials when issuing HTTP Requests. The given method is used as a first try, the alternative one afterwards, if errors occur.
SESSION_ DEVICE_ TAGS
Defines additional device tags that are communicated with the session
SESSION_ FORWARD_ URL
The URL the Session-Handler should forward to
SESSION_ INTERACTIONS
A set of descriptors to interact with session members
SESSION_ MEMBER_ NAME
The name that should be used when joining a shared session
SKIP_ SSL_ VERIFY
Ignore unauthorized certificates when running in node
SLAM_ PROVIDER_ TYPE
This is for development - Slam provider setting.
Possible values: "sequence"
If you use "sequence" a pre recorded tracking sequence will be played in the background, to enable application
developers an easy way to develop AR experiences
You can specify additional parameters by appending them
to with semicolon:
manifest by appending the url to the manifest after a semicolon.
E.g.: sequence;url=
Possible Parameters are: url: Url to manifest.json for imageSequence(escaped url) fps: playback fps for image sequence startIndex: Start Index for image sequence endIndex: End Index for image sequence
SNAPSHOT_ CONTENT_ SELECTION
sets the default loading behaviour on SnapshotRestore
URI_ MAP
A map to rewrite the uri to the network
XR_ ENABLED
Enables or disables XR
A list of cookies that are added to all requests.