36 lines
559 B
Go
36 lines
559 B
Go
package db
|
|
|
|
type Light struct {
|
|
ID uint
|
|
|
|
Color string
|
|
Priority int
|
|
Angle int
|
|
Negative bool
|
|
Alpha float64
|
|
Bright float64
|
|
Coloration float64
|
|
Dim float64
|
|
Attenuation float64
|
|
Luminosity float64
|
|
Saturation float64
|
|
Contrast float64
|
|
Shadows float64
|
|
LightAnimation LightAnimation
|
|
LightDarkness LightDarkness
|
|
}
|
|
|
|
type LightAnimation struct {
|
|
ID uint
|
|
|
|
Speed int
|
|
Intensity int
|
|
Reverse bool
|
|
}
|
|
type LightDarkness struct {
|
|
ID uint
|
|
|
|
Min float64
|
|
Max float64
|
|
}
|