Aller au contenu

Message HrzProtocol.CameraSettings

Defined in hrz/protocol/camera/settings.proto.


fovy: float

Vertical field of view in degrees.


user_controls_inertia: float

Half-time of the energy contained in the camera system, in seconds. For example if the camera moves at 1m/s then is requested to stop, it will take this duration for its velocity to be halved. This setting only affects user controls like mouse movements and touch controls. Must be >= 0. Default: 0.06


movements_inertia: float

Same as above but for the “movement” API. Must be >= 0. Default: 0.06


min_height_above_terrain: double

Minimum distance between the camera and the terrain, in metres. Set to a positive value to prevent the camera from going underground. Takes DTM layers into account. Must be >= 0. Default: 2.0


terrain_collision_inertia: float

Time in seconds it takes for the camera to be back at its target minimum height above the terrain after it goes below it. Must be >= 0. Default: 0.06