Assets/Deps/emotitron/Network/NST/NSTFrameBuffer.cs
/// <summary>
/// Get the first valid frame BEFORE the current frame.
/// </summary>
Get the first valid frame BEFORE the current frame.
Get the first valid frame BEFORE the current frame .
public Frame GetNewestPastValidFrame()
		{
			for (int i = -1; i >= -quaterBufferSize; i--)
			{
				Frame testframe = IncrementFrame(CurrentIndex, i);
				if (GetBitInValidFrameMask(testframe.packetid))
				{
					return testframe;
				}
			}
			return null;
		}
public Frame GetNewestPastValidFrame ( ) { for ( int i = - 1 ; i >= - quaterBufferSize ; i -- ) { Frame testframe = IncrementFrame ( CurrentIndex , i ) ; if ( GetBitInValidFrameMask ( testframe . packetid ) ) { return testframe ; } } return null ; }
Get the first valid frame BEFORE the current frame.
Get the first valid frame BEFORE the current frame .