Class Leap::Unity::RingBuffer

class Leap.Unity.RingBuffer<T> : public Leap::Unity::IIndexable<T>

Public Functions

void Push (T t)

Synonym for “Add”.

T Get (int idx)

Oldest element is at index 0, youngest is at Count - 1.

Properties

T this[int idx]  { get; set; }

Oldest element is at index 0, youngest is at Count - 1.

struct RingBufferEnumerator