CameraConfiguration

data class CameraConfiguration(val initialPosition: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION, val initialPositionX: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_X, val initialPositionY: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_Y, val initialPositionZ: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_Z, val zoomSensitivity: Float = DEFAULT_CAMERA_CONFIG_ZOOM_SENSITIVITY, val zoomAnimationDuration: Long = DEFAULT_CAMERA_CONFIG_ANIMATION_DURATION, val scaleSensitivity: Float = DEFAULT_CAMERA_CONFIG_SCALE_SENSITIVITY, val rotationSensitivity: Float = DEFAULT_CAMERA_CONFIG_ROTATION_SENS, val moveSensitivity: Float = DEFAULT_CAMERA_CONFIG_MOVE_SENS, val is2D: Boolean = DEFAULT_CAMERA_CONFIG_IS_2D_VM, val far: Float = DEFAULT_CAMERA_CONFIG_FAR, val near: Float = DEFAULT_CAMERA_CONFIG_NEAR, val focusDistance: Float = DEFAULT_CAMERA_CONFIG_FOCUS_DISTANCE, val cameraMinX: Float = DEFAULT_CAMERA_CONFIG_MIN_X, val cameraMinY: Float = DEFAULT_CAMERA_CONFIG_MIN_Y, val cameraMaxX: Float = DEFAULT_CAMERA_CONFIG_MAX_X, val cameraMaxY: Float = DEFAULT_CAMERA_CONFIG_MAX_Y, val cameraMinZoom: Float = DEFAULT_CAMERA_CONFIG_MIN_ZOOM, val cameraMaxZoom: Float = DEFAULT_CAMERA_CONFIG_MAX_ZOOM, val isoInitialValueX: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_X, val isoInitialValueY: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_Y, val isoInitialValueZ: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_Z, val cameraYaxisOffset: Float = DEFAULT_CAMERA_CONFIG_3D_Y_OFFSET)

This is the Camera class that holds the camera properties of the 3D scene in the Indoor Navigation Engine. all the properties are optional and have default values, so you can create a camera with the default values or you can pass the properties you want to change

Constructors

Link copied to clipboard
constructor(initialPosition: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION, initialPositionX: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_X, initialPositionY: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_Y, initialPositionZ: Float = DEFAULT_CAMERA_CONFIG_INITIAL_POSITION_Z, zoomSensitivity: Float = DEFAULT_CAMERA_CONFIG_ZOOM_SENSITIVITY, zoomAnimationDuration: Long = DEFAULT_CAMERA_CONFIG_ANIMATION_DURATION, scaleSensitivity: Float = DEFAULT_CAMERA_CONFIG_SCALE_SENSITIVITY, rotationSensitivity: Float = DEFAULT_CAMERA_CONFIG_ROTATION_SENS, moveSensitivity: Float = DEFAULT_CAMERA_CONFIG_MOVE_SENS, is2D: Boolean = DEFAULT_CAMERA_CONFIG_IS_2D_VM, far: Float = DEFAULT_CAMERA_CONFIG_FAR, near: Float = DEFAULT_CAMERA_CONFIG_NEAR, focusDistance: Float = DEFAULT_CAMERA_CONFIG_FOCUS_DISTANCE, cameraMinX: Float = DEFAULT_CAMERA_CONFIG_MIN_X, cameraMinY: Float = DEFAULT_CAMERA_CONFIG_MIN_Y, cameraMaxX: Float = DEFAULT_CAMERA_CONFIG_MAX_X, cameraMaxY: Float = DEFAULT_CAMERA_CONFIG_MAX_Y, cameraMinZoom: Float = DEFAULT_CAMERA_CONFIG_MIN_ZOOM, cameraMaxZoom: Float = DEFAULT_CAMERA_CONFIG_MAX_ZOOM, isoInitialValueX: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_X, isoInitialValueY: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_Y, isoInitialValueZ: Float = DEFAULT_CAMERA_CONFIG_ISO_INITIAL_VALUE_Z, cameraYaxisOffset: Float = DEFAULT_CAMERA_CONFIG_3D_Y_OFFSET)

Create empty Camera data class with default values

Properties

Link copied to clipboard

the maximum x position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the maximum y position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the maximum z position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the minimum x position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the minimum y position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the minimum z position of the camera (default is 0.0f) takes a Float

Link copied to clipboard

the y axis offset of the camera inside the scene in 3D mode (default is 10.0f) takes a Float

Link copied to clipboard
val far: Float

the far distance of the camera that the camera can render 3D objects (default is 1000.0f) takes a Float

Link copied to clipboard

the focus distance of the camera (default is 24.0f) takes a Float

Link copied to clipboard

the initial position of the camera inside the scene (default is 0.0f) takes a Float

Link copied to clipboard

the initial x position of the camera inside the scene (default is 3.0f) takes a Float

Link copied to clipboard

the initial y position of the camera inside the scene (default is 0.0f) takes a Float

Link copied to clipboard

the initial z position of the camera inside the scene (default is 30.0f) takes a Float

Link copied to clipboard

a boolean that indicates if the scene is 2D or 3D (default is true) takes a Boolean

Link copied to clipboard

the initial x position of the camera inside the scene in 3D mode (default is 40.0f) takes a Float

Link copied to clipboard

the initial y position of the camera inside the scene in 3D mode (default is -30.0f) takes a Float

Link copied to clipboard

the initial z position of the camera inside the scene in 3D mode (default is 0.0f) takes a Float

Link copied to clipboard

the speed of the movement of the camera inside the scene when move (default is 0.1f) takes a Float

Link copied to clipboard
val near: Float

the near distance of the camera that the camera can render 3D objects (default is 0.1f) takes a Float

Link copied to clipboard

the speed of the rotation of the camera inside the scene when rotate (default is 0.1f) takes a Float

Link copied to clipboard

the speed of the scale of the camera inside the scene when scale (default is 0.1f) takes a Float

Link copied to clipboard

the duration of the zoom animation of the camera inside the scene when double tap (default is 600) takes a Long

Link copied to clipboard

the speed of the zoom in of the camera inside the scene when double tap (default is 0.2f) takes a Float