Polarith AI
1.8
AIMPlanarInterpolation Class Reference

Description

AIMPlanarInterpolation finds the interpolation parameter for a possible better solution located between two receptors (front-end component).

Front-end component of the underlying Move.PlanarInterpolation class. This behaviour is thread-safe. Only one single component can be attached to one GameObject at a time.

Inheritance diagram for AIMPlanarInterpolation:
AIMBehaviour IEvaluationPreparer

Public Fields

PlanarInterpolation PlanarInterpolation = new PlanarInterpolation()
 The underlying back-end behaviour class. More...
 
int Order
 Specifies the execution order of this behaviour. More...
 
string Label
 Name to identify this component, e.g. More...
 

Protected Fields

AIMContext aimContext
 Quick access reference for derived classes to the component of the associated movement AI context. More...
 
Context context
 Quick access reference for derived classes to the associated movement AI context. More...
 

Properties

override MoveBehaviour Behaviour [get]
 Polymorphic reference to the underlying back-end class (read only). More...
 
override bool ThreadSafe [get]
 Determines whether the underlying back-end class is thread-safe (read only). More...
 
bool Enabled [get, set]
 Determines whether this component is enabled. More...
 

Public Methods

override void PrepareEvaluation ()
 Needs to be called within the main thread to prepare Context.Evaluate. More...
 

Protected Methods

override void Reset ()
 Reset to default values. More...
 
override void OnValidate ()
 This function is called when the script is loaded or a value is changed in the inspector (editor only). More...
 
virtual void Awake ()
 Awake is called when the script instance is being loaded. More...
 
virtual void OnEnable ()
 This method is called when the object becomes enabled and active. More...
 
virtual void OnDisable ()
 This method is called when the behaviour becomes disabled or inactive. More...
 
virtual void OnDestroy ()
 This method is called when the MonoBehaviour will be destroyed. More...
 
List< int > GetDefaultTargetObjectives ()
 Generates a list containing all objectives currently available within the associated Context. More...
 
void CheckFirstAndCentralOrder (Type type)
 Should be used in OnValidate for derived classes to ensure that they are executed at first. More...
 
void CheckLastOrder (Type type)
 Should be used in OnValidate for derived classes to ensure that they are executed at last. More...
 
Imprint