nx.js
NamespacesSwitchInterfaces

IRSensorInit

Properties

PropertyTypeDescription
color?stringCSS color that will be used when rendering the image produced by the IR sensor. Default "green"
frequency?numberThe desired number of times per second a sample should be taken, meaning the number of times per second that the reading event will be called. A whole number or decimal may be used, the latter for frequencies less than a second. Default 2

On this page