ArgData

API Reference > 0.19.1 > Car

Car Class

A Car represents a car with its various colors.

Namespace: ArgData.Entities

Constructors

Name Description
Car() Initializes a new instance of a Car with all colors set to 0 (black).
Car(Byte[] carColorBytes) Initializes a new instance of a Car with the specified colors.
carColorBytes: The colors to set. Must be exactly 16.

Properties

Name Description
CockpitFront Gets or sets the color of the part just in front of the cockpit opening.
CockpitSide Gets or sets the color of the side of the cockpit.
EngineCover Gets or sets the color of the main upper part of the engine cover.
EngineCoverRear Gets or sets the color of the rear, lower part of the engine cover.
EngineCoverSide Gets or sets the color of the lower part of the engine cover.
FrontAndRearWing Gets or sets the color of the front and rear wing elements.
FrontWingEndplate Gets or sets the color of the endplate of the front wing.
NoseAngle Gets or sets the color of the angled part between the top and side of the nose-cone.
NoseSide Gets or sets the color of the side of the nose-cone.
NoseTop Gets or sets the color of the top part of the nose-cone.
RearWingSide Gets or sets the color of the side of the rear wing.
Sidepod Gets or sets the color of the vertical part of the sidepod.
SidepodTop Gets or sets the color of the top part of the sidepod.

Methods

Name Description
Copy(Car source) Copies all colors from the source into this Car.
source: Source Car to copy colors from.