public class FixedIntervalDistributor

Class that calculates the amount of times something needs to execute to adhere to a specific rate

Properties

public float RateHz { get; set; }

Preferred cycles rate


public float Rate { get; set; }

[System.Obsolete]

No description provided


public int MaxCycles { get; set; }

Maximum ouput cycles


public int MaxRate { get; set; }

[System.Obsolete]

No description provided


public float IntervalSeconds { get; private set; }

1.0f / RateHz


Methods

public void ResetAccumulator(float t = 0)

No description provided


public int CalculateCycleCount(float realDeltaTimeInSeconds)

Calculate the amount of cycles to execute


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi