Class ObservableList<T>
Observable list.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class ObservableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T | Type of the list. |
Constructors
Name | Description |
---|---|
Observable |
Default Constructor. |
Observable |
Constructor. |
Observable |
Constructor. |
Properties
Name | Description |
---|---|
Count | Number of elements in the list. |
Is |
Is the list read only? |
this[int] | Accessor. |
Methods
Name | Description |
---|---|
Add(T) | Add an item to the list. |
Add(params T[]) | Add multiple objects to the list. |
Clear() | Clear the list. |
Contains(T) | Check if an element is present in the list. |
Copy |
Copy items in the list to an array. |
Get |
Get enumerator. |
Index |
Get the index of an item. |
Insert(int, T) | Insert an item in the list. |
Remove(T) | Remove an item from the list. |
Remove(params T[]) | Remove multiple items from the list. |
Remove |
Remove an item at a specific index. |
Events
Name | Description |
---|---|
Item |
Added item event. |
Item |
Removed item event. |