Pedestrian
public struct Pedestrian : Vehicle, InternalConformanceLocked
A pedestrian.
Note
This option is not yet supported with the Orbis map.Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates pedestrian.
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed)
Parameters
maxSpeed
Specifies the max speed of the pedestrian. Pedestrian always moves at this set maximum speed.
-
Specifies pedestrian default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed>
-
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>?
-
Specifies the vehicle type.
Declaration
Swift
public let type: VehicleType