文档

Unity Engine

Unity Engine

accelerationSpeed

Controls how quickly the SceneView camera accelerates while it moves.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public float accelerationSpeed { get; set; }

Remarks

This value sets the rate the camera's speed increases when SceneView.CameraSettings.accelerationEnabled is on. The camera's movement starts at the base SceneView.CameraSettings.speed, and then increases over the duration of the movement according to this setting.
A higher value causes the camera to reach its maximum speed more quickly, which is useful for traversing long distances. A lower value provides a more gradual and subtle increase in speed, allowing for finer control over short movements.