Skip to main content
Version: Next

Class: FlexibleControlsOptions

Beta

Constructors

new FlexibleControlsOptions()

new FlexibleControlsOptions(): FlexibleControlsOptions

Beta

Returns

FlexibleControlsOptions

Properties

animationDuration

animationDuration: number = 300

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:33


automaticNearFarPlane

automaticNearFarPlane: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:48


automaticSensitivity

automaticSensitivity: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:52


controlsType

controlsType: FlexibleControlsType = FlexibleControlsType.Orbit

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:23


dampingFactor

dampingFactor: number = 0.25

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:46


defaultFov

defaultFov: number = 60

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:89


enableChangeControlsTypeOn123Key

enableChangeControlsTypeOn123Key: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:29


enableDamping

enableDamping: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:45


enableKeyboardNavigation

enableKeyboardNavigation: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:30


innerMarkerColor

innerMarkerColor: string = '#FFFFFF'

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:95


keyboardDollySpeed

keyboardDollySpeed: number = 200

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:77


keyboardFastMoveFactor

keyboardFastMoveFactor: number = 5

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:78


keyboardFastRotationFactor

keyboardFastRotationFactor: number = 2

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:62


keyboardPanSpeed

keyboardPanSpeed: number = 100

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:76


keyboardRotationSpeedAzimuth

keyboardRotationSpeedAzimuth: number = DEFAULT_KEYBOARD_ROTATION_SPEED

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:60


keyboardRotationSpeedPolar

keyboardRotationSpeedPolar: number

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:61


keyboardSpeed

keyboardSpeed: number = 1

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:75


maxAzimuthAngle

maxAzimuthAngle: number = Infinity

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:42


maximumFov

maximumFov: number = 100

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:88


maximumTimeBetweenRaycasts

maximumTimeBetweenRaycasts: number = 1000

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:35


maxOrthographicZoom

maxOrthographicZoom: number = Infinity

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:67


maxPolarAngle

maxPolarAngle: number

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:40


maxSensitivity

maxSensitivity: number = 0.8

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:55


minAzimuthAngle

minAzimuthAngle: number = -Infinity

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:41


minimumFov

minimumFov: number = 5

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:87


minimumTimeBetweenRaycasts

minimumTimeBetweenRaycasts: number = 200

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:34


minOrthographicZoom

minOrthographicZoom: number = 0

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:66


minPolarAngle

minPolarAngle: number = DEFAULT_MIN_POLAR_ANGLE

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:39


minSensitivity

minSensitivity: number = 0.1

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:54


mouseClickType

mouseClickType: FlexibleMouseActionType = FlexibleMouseActionType.SetTarget

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:27


mouseDistanceThresholdBetweenRaycasts

mouseDistanceThresholdBetweenRaycasts: number = 5

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:36


mouseDollySpeed

mouseDollySpeed: number = 100

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:72


mouseDoubleClickType

mouseDoubleClickType: FlexibleMouseActionType = FlexibleMouseActionType.SetTargetAndCameraPosition

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:28


mousePanSpeed

mousePanSpeed: number = 25

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:71


mouseRotationSpeedAzimuth

mouseRotationSpeedAzimuth: number = DEFAULT_POINTER_ROTATION_SPEED

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:58


mouseRotationSpeedPolar

mouseRotationSpeedPolar: number = DEFAULT_POINTER_ROTATION_SPEED

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:59


mouseWheelAction

mouseWheelAction: FlexibleWheelZoomType = FlexibleWheelZoomType.Auto

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:26


orthographicCameraDollyFactor

orthographicCameraDollyFactor: number = 0.3

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:84


outerMarkerColor

outerMarkerColor: string = '#FF2222'

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:94


pinchEpsilon

pinchEpsilon: number = 0.1

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:81


pinchPanSpeed

pinchPanSpeed: number = 50

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:82


relativeMarkerSize

relativeMarkerSize: number = 0.018

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:93


sensitivity

sensitivity: number = 0.4

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:51


sensitivityDiagonalFraction

sensitivityDiagonalFraction: number = 0.001

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:53


showTarget

showTarget: boolean = true

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:92


wheelDollySpeed

wheelDollySpeed: number = 0.5

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:70


zoomFraction

zoomFraction: number = 0.05

Beta

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:65

Accessors

realMouseWheelAction

Get Signature

get realMouseWheelAction(): FlexibleWheelZoomType

Beta

Returns

FlexibleWheelZoomType

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:101


shouldPick

Get Signature

get shouldPick(): boolean

Beta

Returns

boolean

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:110

Methods

getKeyboardSpeed()

getKeyboardSpeed(shift): number

Beta

Parameters

shift: boolean

Returns

number

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:121


getLegalAzimuthAngle()

getLegalAzimuthAngle(azimuthAngle): number

Beta

Parameters

azimuthAngle: number

Returns

number

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:136


getLegalFov()

getLegalFov(fov): number

Beta

Parameters

fov: number

Returns

number

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:132


getLegalPolarAngle()

getLegalPolarAngle(polarAngle): number

Beta

Parameters

polarAngle: number

Returns

number

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:140


getLegalSensitivity()

getLegalSensitivity(controlsSensitivity): number

Beta

Parameters

controlsSensitivity: number

Returns

number

Defined in

packages/camera-manager/src/Flexible/FlexibleControlsOptions.ts:144