Class TerminalScreenLight
Makes a Light glow as a screen does: its color follows the average color of the picture the screen shows, and its intensity how much of the picture is lit. A screen that switches off, rolls, or glitches takes the light with it. Put it on a light in front of the glass.
Assembly: DarkEffekt.Terminal
Section titled “Assembly: DarkEffekt.Terminal”[ExecuteAlways][DefaultExecutionOrder(200)][RequireComponent(typeof(Light))][AddComponentMenu("Terminal/Terminal Screen Light")][Icon("Packages/com.darkeffekt.terminal/Editor/Icons/Assets/TerminalScreenLight.png")]public sealed class TerminalScreenLight : MonoBehaviourInheritance: System.Object -> UnityEngine.Object -> UnityEngine.Component -> UnityEngine.Behaviour -> UnityEngine.MonoBehaviour
Properties
Section titled “Properties”Screen
Section titled “Screen”The screen whose picture lights the scene.
public TerminalScreenBase Screen { get; set; }Intensity
Section titled “Intensity”The light’s intensity when the whole screen is white.
public float Intensity { get; set; }How soon the light levels off as more of the screen lights up: 0 follows the lit share straight, higher compresses it.
public float Knee { get; set; }Saturation
Section titled “Saturation”How much of the picture’s color the light takes, from 0 for white light, through 1 for the picture’s own.
public float Saturation { get; set; }Response
Section titled “Response”Seconds the light takes to follow a change in the picture.
public float Response { get; set; }ReadbackMode
Section titled “ReadbackMode”Whether a reading waits for the graphics card.
public TerminalScreenLight.Readback ReadbackMode { get; set; }ScreenColor
Section titled “ScreenColor”The average color of the picture, in linear color, as the light is showing it.
public Color ScreenColor { get; }