Class SharedSirens
Represents the set of all sirens on a vehicle
Assembly: SlipeShared.dll
Syntax
public class SharedSirens
Constructors
|
Improve this Doc
View Source
SharedSirens(SharedVehicle)
Create a sirens set attached to a vehicle
Declaration
public SharedSirens(SharedVehicle vehicle)
Parameters
Fields
|
Improve this Doc
View Source
checkLOS
Declaration
Field Value
|
Improve this Doc
View Source
silent
Declaration
Field Value
|
Improve this Doc
View Source
type
Declaration
Field Value
|
Improve this Doc
View Source
useRandomiser
Declaration
protected bool useRandomiser
Field Value
|
Improve this Doc
View Source
vehicle
Declaration
protected SharedVehicle vehicle
Field Value
|
Improve this Doc
View Source
visibleFromAllDirection
Declaration
protected bool visibleFromAllDirection
Field Value
Properties
|
Improve this Doc
View Source
All
Get all the attached individual sirens
Declaration
public Siren[] All { get; }
Property Value
|
Improve this Doc
View Source
CheckLineOfSight
Check line of sight between camera and light so it won't draw if blocked
Declaration
public bool CheckLineOfSight { get; }
Property Value
|
Improve this Doc
View Source
On
Get and set if the sirens are on
Declaration
public bool On { get; set; }
Property Value
|
Improve this Doc
View Source
Silent
If the silent is silent (no audio) or not
Declaration
public bool Silent { get; }
Property Value
|
Improve this Doc
View Source
Type
Get the type of this siren set
Declaration
public SirenType Type { get; }
Property Value
|
Improve this Doc
View Source
UseRandomiser
Randomise the light order, false for sequential
Declaration
public bool UseRandomiser { get; }
Property Value
|
Improve this Doc
View Source
VisibleFromAllDirections
Visible from all directions (applies to single type only)
Declaration
public bool VisibleFromAllDirections { get; }
Property Value
Methods
|
Improve this Doc
View Source
UpdateParams()
Declaration
protected void UpdateParams()