Light
@Serializable
State and capabilities of a light resource.
Constructors
Link copied to clipboard
fun Light(id: ResourceId, owner: ResourceReference, powerInfo: PowerInfo, mode: LightMode, dimmingInfo: DimmingInfo? = null, colorTemperatureInfo: ColorTemperatureInfo? = null, colorInfo: ColorInfo? = null, v1Id: String? = null, dynamics: LightDynamics? = null, alertInfo: AlertInfo? = null, gradient: Gradient? = null, effects: LightingEffectInfo? = null, timedEffects: TimedLightingEffectInfo? = null, signaling: LightSignaling? = null, powerup: LightPowerup? = null)