Regular API
function
simGetNavigationMode / sim.getNavigationMode
Description
Retrieves the navigation and selection mode for the mouse. See also
sim.setNavigationMode
.
C synopsis
simInt simGetNavigationMode()
C parameters
None
C return value
navigation mode
if operation was successful, -1 otherwise
Lua synopsis
number navigationMode=sim.getNavigationMode()
Lua parameters
Same as C-function
Lua return values
Same as C-function. See also the
boolean operators in Lua
.
All regular API functions on one page