Internal data storage class which can behave as either a set-size array or a circular array. More...
Public Member Functions | |
| GTransformBuffer (int maxSize) | |
| Create a GTransformBuffer with a specified max size. More... | |
| void | Enqueue (GTransform t) |
| void | SetMaxSize (int maxSize) |
| Sets the max size of the buffer. More... | |
| void | SetCircular (bool circular) |
| Sets the circular behavior according to the specified parameter. More... | |
| int | Size () |
| Returns the number of elements in the buffer. More... | |
| void | Dequeue () |
| Removes the first element of the buffer. More... | |
| void | Clear () |
| Clears the buffer. More... | |
| IEnumerator< GTransform > | GetEnumerator () |
| Generates the Enumerator over the GTransforms in the buffer. More... | |
| Vector3[] | ToArray () |
| Returns the GTransformBuffer contents as a GTransform[] array; More... | |
Internal data storage class which can behave as either a set-size array or a circular array.
|
inline |
Create a GTransformBuffer with a specified max size.
| maxSize | The desired max size of the GTransformBuffer |
|
inline |
Clears the buffer.
|
inline |
Removes the first element of the buffer.
|
inline |
|
inline |
Generates the Enumerator over the GTransforms in the buffer.
|
inline |
Sets the circular behavior according to the specified parameter.
| circular |
|
inline |
Sets the max size of the buffer.
| maxSize |
|
inline |
Returns the number of elements in the buffer.
|
inline |
Returns the GTransformBuffer contents as a GTransform[] array;
1.8.6