Wayfinder Mesh Links Database Class
This is an alternative way that a floor change can be setup. This is a mapping between a list of mesh names, and a floor ID that should be displayed if the mesh is clicked.
This class inherits and therefore includes all the methods and functions defined the standard wayfinder database base class. This class exports the following functions:
|
meshLink(floorId, meshName) |
function |
Searches through the mappings to find a specific meshName on the specified floorId, and returns the ID of the floor you should display, or null if no mapping was found. |
Each record in the WayfinderMeshLinksDatabase contains the following properties:
|
floor |
property (r) |
The ID of the floor the named mesh is on |
|
mesh |
property (r) |
The name of the mesh. Note, this name could appear on other floors too, so the above floor property is very important. |
|
targetFloor |
property (r) |
The ID of the floor/map to jump to when the mesh is clicked. |