shade
latest
lights
/
inkapplications.shade.lights.parameters
/
TimedEffectsParameters
Timed
Effects
Parameters
@
Serializable
data
class
TimedEffectsParameters
(
val
effect
:
TimedLightEffect
?
=
null
,
val
duration
:
Duration
?
=
null
)
Basic feature containing timed effect properties.
Constructors
Properties
Constructors
Timed
Effects
Parameters
Link copied to clipboard
fun
TimedEffectsParameters
(
effect
:
TimedLightEffect
?
=
null
,
duration
:
Duration
?
=
null
)
Properties
duration
Link copied to clipboard
@
Serializable
(
with
=
MillisecondDurationSerializer::class
)
val
duration
:
Duration
?
=
null
effect
Link copied to clipboard
val
effect
:
TimedLightEffect
?
=
null
Effect to set the light to.