Name | Type | Description |
---|---|---|
scene |
Scene | 现场。 |
Members
-
Default Value:
3.0
-
Default Value:
true
-
Default Value:
true
-
Default Value:
true
-
Default Value:
true
-
Default Value:
true
-
Default Value:
true
-
Default Value:
true
[0, 1)
范围内的一个参数,用于确定多长时间
由于惯性,照相机将继续旋转。
如果值为零,相机将没有惯性。-
Default Value:
0.9
[0, 1)
范围内的一个参数,用于确定多长时间
由于惯性,相机将继续平移。
如果值为零,相机将没有惯性。-
Default Value:
0.9
[0, 1)
范围内的一个参数,用于确定多长时间
由于惯性,照相机将继续变焦。
如果值为零,相机将没有惯性。-
Default Value:
0.8
lookEventTypes : CameraEventType|Array|undefined
The type came be a CameraEventType
, undefined
, an object with eventType
and modifier
properties with types CameraEventType
and KeyboardEventModifier
,
or an array of any of the preceding.
-
Default Value:
{ eventType : CameraEventType.LEFT_DRAG
, modifier : KeyboardEventModifier.SHIFT
}
[0, 1)
范围内的参数
每个动画帧的窗口宽度/高度的百分比。
这有助于在低帧速率的情况下控制摄像机。-
Default Value:
0.1
-
Default Value:
Number.POSITIVE_INFINITY
-
Default Value:
15000.0
-
Default Value:
150000.0
-
Default Value:
7500000.0
-
Default Value:
1.0
rotateEventTypes : CameraEventType|Array|undefined
The type came be a CameraEventType
, undefined
, an object with eventType
and modifier
properties with types CameraEventType
and KeyboardEventModifier
,
or an array of any of the preceding.
-
Default Value:
CameraEventType.LEFT_DRAG
tiltEventTypes : CameraEventType|Array|undefined
The type came be a CameraEventType
, undefined
, an object with eventType
and modifier
properties with types CameraEventType
and KeyboardEventModifier
,
or an array of any of the preceding.
-
Default Value:
[CameraEventType.MIDDLE_DRAG
, CameraEventType.PINCH
, {
eventType : CameraEventType.LEFT_DRAG
,
modifier : KeyboardEventModifier.CTRL
}, {
eventType : CameraEventType.RIGHT_DRAG
,
modifier : KeyboardEventModifier.CTRL
}]
translateEventTypes : CameraEventType|Array|undefined
The type came be a CameraEventType
, undefined
, an object with eventType
and modifier
properties with types CameraEventType
and KeyboardEventModifier
,
or an array of any of the preceding.
-
Default Value:
CameraEventType.LEFT_DRAG
zoomEventTypes : CameraEventType|Array|undefined
The type came be a CameraEventType
, undefined
, an object with eventType
and modifier
properties with types CameraEventType
and KeyboardEventModifier
,
or an array of any of the preceding.
-
Default Value:
[CameraEventType.RIGHT_DRAG
, CameraEventType.WHEEL
, CameraEventType.PINCH
]
Methods
Throws:
-
DeveloperError :此对象已销毁,即调用destroy()。
Example:
controller = controller && controller.destroy();
See:
Returns:
true
;否则为false
。