Struct TMP_TextProcessingStack<T>
Structure used to track XML tags of various types.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
public struct TMP_TextProcessingStack<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
TMP_TextProcessingStack(int) | Constructor for a new item stack with the given capacity. |
TMP_TextProcessingStack(int, int) | |
TMP_TextProcessingStack(T[]) | Constructor to create a new item stack. |
Fields
Name | Description |
---|---|
index | |
itemStack |
Properties
Name | Description |
---|---|
Count | |
current | Returns the current item on the stack. |
rolloverSize |
Methods
Name | Description |
---|---|
Add(T) | Function to add a new item to the stack. |
Clear() | Function to clear and reset stack to first item. |
CurrentItem() | |
Peek() | |
Pop() | |
PreviousItem() | Function to retrieve the previous item without affecting the stack. |
Push(T) | |
Remove() | Function to retrieve an item from the stack. |
SetDefault(T) | Function to set the first item on the stack and reset index. |