![]() |
Cesium for Unity 1.15.2
|
A camera controller that can easily move around and view the globe while maintaining a sensible orientation. More...
Properties | |
bool | enableMovement [get, set] |
Whether movement is enabled on this controller. | |
bool | enableRotation [get, set] |
Whether rotation is enabled on this controller. | |
float | defaultMaximumSpeed [get, set] |
The maximum speed of this controller when dynamic speed is disabled. | |
bool | enableDynamicSpeed [get, set] |
Whether to enable dynamic speed on this controller. | |
float | dynamicSpeedMinHeight [get, set] |
The minimum height where dynamic speed starts to take effect. | |
bool | enableDynamicClippingPlanes [get, set] |
Whether to dynamically adjust the camera's clipping planes so that the globe will not be clipped from far away. | |
float | dynamicClippingPlanesMinHeight [get, set] |
The height to start dynamically adjusting the camera's clipping planes. | |
A camera controller that can easily move around and view the globe while maintaining a sensible orientation.
As the camera moves across the horizon, it automatically changes its own up direction such that the world always looks right-side up.
Definition at line 25 of file CesiumCameraController.cs.
|
getset |
The maximum speed of this controller when dynamic speed is disabled.
If dynamic speed is enabled, this value will not be used.
Definition at line 68 of file CesiumCameraController.cs.
|
getset |
The height to start dynamically adjusting the camera's clipping planes.
Below this height, the clipping planes will be set to their initial values.
Definition at line 125 of file CesiumCameraController.cs.
|
getset |
The minimum height where dynamic speed starts to take effect.
Below this height, the speed will be set to the object's height from the Earth, which makes it move slowly when it is right above a tileset.
Definition at line 97 of file CesiumCameraController.cs.
|
getset |
Whether to dynamically adjust the camera's clipping planes so that the globe will not be clipped from far away.
Objects that are close to the camera but far above the globe in space may not appear.
Definition at line 111 of file CesiumCameraController.cs.
|
getset |
Whether to enable dynamic speed on this controller.
If enabled, the controller's speed will change dynamically based on elevation and other factors.
Definition at line 82 of file CesiumCameraController.cs.
|
getset |
Whether movement is enabled on this controller.
Movement is controlled using the W, A, S, D keys, as well as the Q and E keys for vertical movement with respect to the globe.
Definition at line 37 of file CesiumCameraController.cs.
|
getset |
Whether rotation is enabled on this controller.
Rotation is controlled by movement of the mouse.
Definition at line 54 of file CesiumCameraController.cs.