Class Colors
Represents a vehicle's colors.
This contains 4 color values, but some vehicles may use less than that.
Assembly: SlipeServer.Server.dll
Syntax
Constructors
|
Edit this page
View Source
Colors(Vehicle, Color?, Color?, Color?, Color?)
Declaration
public Colors(Vehicle vehicle, Color? primary = null, Color? secondary = null, Color? color3 = null, Color? color4 = null)
Parameters
Properties
|
Edit this page
View Source
Color3
Declaration
public Color Color3 { get; set; }
Property Value
|
Edit this page
View Source
Color4
Declaration
public Color Color4 { get; set; }
Property Value
|
Edit this page
View Source
Primary
Declaration
public Color Primary { get; set; }
Property Value
|
Edit this page
View Source
Secondary
Declaration
public Color Secondary { get; set; }
Property Value
Methods
|
Edit this page
View Source
AsArray()
Declaration
Returns
Events
|
Edit this page
View Source
ColorChanged
Declaration
public event ElementEventHandler<Vehicle, VehicleColorChangedEventsArgs>? ColorChanged
Event Type