Interface: EnvironmentPortHost
Defined in: sensing.ts:103
What a port is handed so it can talk back. Implemented by the director.
Methods
estimate()
estimate(lighting: EstimatedLighting | null): void;
Defined in: sensing.ts:110
New measured lighting, or null when estimation stopped and the app's own
environment should take over again.
Parameters
| Parameter | Type |
|---|---|
lighting | EstimatedLighting | null |
Returns
void
report()
report(report: SensingReport): void;
Defined in: sensing.ts:105
State changed for one feature. Cheap to call; identical reports are dropped.
Parameters
| Parameter | Type |
|---|---|
report | SensingReport |
Returns
void