setNavigationSettings
Set the navigation settings.
This method supersedes the deprecated methods walkSpeed, elevationSpeed and rotationSpeed.
Example
Usage
const navigationSettings = {
elevationSpeed: 1.5,
rotationSpeed: 40,
walkSpeed: 3.0
};
viewer3d.setNavigationSettings(navigationSettings);Parameters
navigationSettings
The navigation settings.
Type | Required |
|---|---|
Object | Yes |
Properties
Name | Type | Required | Description |
|---|---|---|---|
elevationSpeed | Number | No | The elevation speed in meters per second |
rotationSpeed | Number | No | The rotation speed in degrees per second |
walkSpeed | Number | No | The walking speed in meters per second |