![]() |
Nano Brain for Unity v0.1
|
A light sensor.
Public Attributes | |
| bool | useOcclusion = true |
| float | sensitivityAngle = 180f |
| float | multiplier = 1f |
| float | sensorRange = 10f |
| Maximum distance the sensor detects anything. | |
| float | sampleInterval = 0.1f |
| LayerMask | senseLayer |
| Unity Layer for the light objects. | |
| float | _output |
| Neuron | sensoryNeuron |
Protected Member Functions | |
| override float | SampleSensor () |
| virtual void | Awake () |
Protected Attributes | |
| Vehicle | vehicle |
| Cluster | brain |
Properties | |
| float | output [get] |
| Output value of the sensor. | |
|
protectedvirtual |
Reimplemented from Sensor.
|
inherited |
Unity Layer for the light objects.
This is used to improve performance