Vehicle Scanner
Parent |
Functions
getColor () → (r : Float, g : Float, b : Float, e : Float)
Allows to get the color and light intensity of the scanner.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Color |
| Name | Type | Description |
|---|---|---|
Red |
Float |
The red part of the color in which the scanner glows. (0.0 - 1.0) |
Green |
Float |
The green part of the color in which the scanner glows. (0.0 - 1.0) |
Blue |
Float |
The blue part of the color in which the scanner glows. (0.0 - 1.0) |
Emissive |
Float |
The light intensity of the scanner. (0.0 - 5.0) |
getLastVehicle () → vehicle : Object<Vehicle>
Returns the last vehicle that entered the scanner.
Details
Flags |
RuntimeSync RuntimeParallel MemberFunc |
Display Name |
Get Last Vehicle |
| Name | Type | Description |
|---|---|---|
Vehicle |
Object<Vehicle> |
The vehicle that entered the scanner. null if it has already left the scanner. |
setColor (r : Float, g : Float, b : Float, e : Float)
Allows to change the color and light intensity of the scanner.
Details
Flags |
RuntimeSync RuntimeParallel RuntimeAsync MemberFunc |
Display Name |
Set Color |
| Name | Type | Description |
|---|---|---|
Red |
Float |
The red part of the color in which the scanner glows. (0.0 - 1.0) |
Green |
Float |
The green part of the color in which the scanner glows. (0.0 - 1.0) |
Blue |
Float |
The blue part of the color in which the scanner glows. (0.0 - 1.0) |
Emissive |
Float |
The light intensity of the scanner. (0.0 - 5.0) |