setVehicle
Sets the Vehicle.
Example snippet that creates and sets a car vehicle with combustion engine:
val vehicle = Vehicle.Car(
combustionEngine = CombustionEngine()
)
setVehicle(vehicle)
Content copied to clipboard
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
vehicle
Vehicle to be set.