Polarith AI
1.8

◆ TargetFps

float TargetFps = 60.0f

A value used as a reference for the PerformanceType.LoadBalanced feature.

It is needed to calculate how many agents can be processed per update. If the actual update rate drops below this value, the number of agents per update remains. However, then it is not possible to keep the actual update frequency, lowering it effectively. That means that all agents are still updated as fast as possible, though not as often as defined by the parameters.

This value should be equal to or greater than Mathf2.Epsilon.

Imprint