DynamicSpeedOptions
public struct DynamicSpeedOptions
Defines the animation speed of camera attributes, how quickly they move toward their target values. Each attribute is eased toward its target using exponential smoothing.
-
Smoothing time constant for a camera attribute’s animation. Larger values produce slower, smoother motion toward the target value. Defaults to 1 second.
Declaration
Swift
public var smoothingTime: TimeInterval -
Creates a new instance.
Declaration
Swift
public init(smoothingTime: TimeInterval = 1000 * 0.001)