Manage itinerary

Event that can be used to manage an itinerary.

setItineraryToEntityWithId

Calculate and generate an itinerary to a specific container (containers are objects like table, doors, stairs, shelves etc ...)

Parameters

Nametypedescription
id_entitynumberContainer id target to generate itinerary.
id_startnumber(optional) Container id start to generate itinerary.
hideFloorsboolean(optional) Hides all floors that are not in the itinerary.

Result

Nametypedescription
pointsVector3[[]The itinerary
floornumberTarget floor
distanceMeternumberItinerary distance in meters

Example

Javascript
Swift
Java
Copy

clearItinerary

Disable and remove current itinerary

Parameters

No parameter

Result

No result

Example

Javascript
Swift
Java
Copy

setPathColor

Change itinerary path color

Parameters

Nametypedescription
colorstringcolor in hexadecimal value

Result

No result

Example

Javascript
Swift
Java
Copy

setMoveFpsToTarget

Start animation from terminal (or current user position) to destination. An itinerary had to be shown to enable this feature (setItineraryToEntityWithId) called before.

Parameters

Nametypedescription
statebooleanTrue for enable or false for disable FPS mode

Result

No result

Example

Javascript
Swift
Java
Copy

###

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard