Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Base class for actions that should declares ASensorFilters for the FilteredSensor instances via the AISensorsManager.
Use to implement the AI logic that changes filtered sensor collection.
T | : | ASensorFilter |
Public Member Functions | |
override void | Init (Brain ai) |
Checks existence of the AISensorsManager at the AI game object. More... | |
sealed override Result | Pass (Brain ai) |
Performs base logic of sensor action. More... | |
virtual void | End (Brain ai) |
Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More... | |
Public Attributes | |
int | sensorID = 0 |
Target Sensor ID at the AISensorsManager. | |
Protected Member Functions | |
override Result | InternalPassLogic (Brain ai) |
Looking for sensor and adds the filter to it in case if not exist. More... | |
abstract void | CongigurationPass () |
Pass where you should apply filter setting to the filter instance. More... | |
Protected Attributes | |
AISensorsManager | manager |
Reference to the manager. | |
Properties | |
T | filter [get] |
Reference to the instantiated filter. | |
Sensor | sensor [get, set] |
Manager that collect the sensor data. | |
PipelineItem | self [get, set] |
Reference to node that contains this action. | |
virtual DataManagement.DynamicResources.Version | version [get] |
Source version. More... | |
virtual string | author [get] |
Source author. | |
|
protectedpure virtual |
Pass where you should apply filter setting to the filter instance.
Implemented in Doloro.AI.Sensors.Filters.FilterByLayer, and Doloro.AI.Sensors.Filters.FilterByTag.
|
virtualinherited |
Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail
ai | Source AI entity. |
Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.
|
virtual |
Checks existence of the AISensorsManager at the AI game object.
ai |
Reimplemented from Doloro.AI.Sensors.ASensorAction.
|
protectedvirtual |
Looking for sensor and adds the filter to it in case if not exist.
ai | Target AI instance. |
Implements Doloro.AI.Sensors.ASensorAction.
|
getinherited |
Source version.
Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.