Polarith AI
1.8

◆ PrepareEvaluation()

void PrepareEvaluation ( )

Within this method, everything requiring access to Unity's reference types needs to be done in order to prepare the multithreaded call of Context.Evaluate.

This is, for example, the data extraction for IPercept<T> instances which rely mostly on Unity objects (reference types).

Needs to be called within the main thread.

Implemented in AIMBehaviour, AIMPerceptBehaviour< T >, AIMFilter< T >, AIMStabilization, AIMPlanarConvolution, AIMRetention, and AIMPlanarInterpolation.

Imprint