Derived AIMPerceiver<T> component using SteeringPercept as type for extracting percept data.
An appropriate filter for giving an agent access to the extracted percept data of this perceiver is the AIMSteeringFilter.
Public Fields | |
SpatialPartitionType | SpatialPartition |
Defines the method of spatial partitioning to be used for optimizing the performance while accessing percept data. More... | |
RegularGrid | RegularGrid = new RegularGrid() |
A RegularGrid structure used to perform spatial hashing for optimizing access to percept data. More... | |
readonly IDictionary< string, IList< T > > | Percepts |
Extracted percept data corresponding to every specified environment which can be accessed by its AIMEnvironment.Label (read only). More... | |
List< AIMEnvironment > | Environments |
All environment components which should be considered for the extraction of the percept data. More... | |
Public Methods | |
void | Awake () |
Awakes this perceiver instance. More... | |
void | GetPerceptsInRange (Vector3 point, float range, IList< string > environments, IList< SteeringPercept > percepts) |
Queries all SteeringPercept instances in range of the given point and writes them to the percepts list. More... | |
virtual void | Update () |
Updates this perceiver instance. More... | |
void | PerceiveStatic () |
Forces the system to re-perceive static environments. More... | |
Protected Methods | |
override void | PerceiveEnvironment (AIMEnvironment environment, IList< SteeringPercept > percepts) |
Marks all corresponding percept data as non-received and sets their game object reference. More... | |
override void | StartPerceiving () |
This method is called before any environments are being updated in a loop by PerceiveEnvironment(AIMEnvironment, IList<SteeringPercept>). More... | |
abstract void | PerceiveEnvironment (AIMEnvironment environment, IList< T > percepts) |
Extracts all percept data relevant for the given percept type T . More... | |