Class SteamVR_RingBuffer<T>
Inheritance
System.Object
SteamVR_RingBuffer<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Assembly-CSharp.dll
Syntax
public class SteamVR_RingBuffer<T>
Type Parameters
Constructors
SteamVR_RingBuffer(Int32)
Declaration
public SteamVR_RingBuffer(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
Fields
buffer
Declaration
Field Value
currentIndex
Declaration
protected int currentIndex
Field Value
Type |
Description |
System.Int32 |
|
lastElement
Declaration
Field Value
Methods
Add(T)
Declaration
public void Add(T newElement)
Parameters
Type |
Name |
Description |
T |
newElement |
|
Clear()
Declaration
GetAtIndex(Int32)
Declaration
public virtual T GetAtIndex(int atIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
atIndex |
|
Returns
GetLast()
Declaration
public virtual T GetLast()
Returns
GetLastIndex()
Declaration
public virtual int GetLastIndex()
Returns
Type |
Description |
System.Int32 |
|
StepForward()
Declaration
public virtual void StepForward()