Struct UnsafeList
Syntax
Fields
m_capacity
Declaration
Field Value
Type |
Description |
System.Int32 |
|
m_pointer
Declaration
Field Value
Type |
Description |
System.Void* |
|
m_size
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
Add<T>(T, Allocator)
Declaration
public void Add<T>(T t, Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
T |
t |
|
Allocator |
allocator |
|
Type Parameters
AddRange<T>(Void*, Int32, Allocator)
Declaration
public void AddRange<T>(void *t, int count, Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
System.Void* |
t |
|
System.Int32 |
count |
|
Allocator |
allocator |
|
Type Parameters
Append<T>(UnsafeList)
Declaration
public void Append<T>(UnsafeList src)
where T : struct
Parameters
Type Parameters
Contains<T>(T)
Declaration
public bool Contains<T>(T t)
where T : struct, IEquatable<T>
Parameters
Type |
Name |
Description |
T |
t |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Dispose<T>(Allocator)
Declaration
public void Dispose<T>(Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Type Parameters
IndexOf<T>(T)
Declaration
public int IndexOf<T>(T t)
where T : struct, IEquatable<T>
Parameters
Type |
Name |
Description |
T |
t |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
RemoveAtSwapBack<T>(Int32)
Declaration
public void RemoveAtSwapBack<T>(int index)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Type Parameters
RemoveAtSwapBack<T>(Int32, T)
Declaration
public void RemoveAtSwapBack<T>(int index, T t)
where T : struct, IEquatable<T>
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
T |
t |
|
Type Parameters
RemoveRangeSwapBack<T>(Int32, Int32)
Declaration
public void RemoveRangeSwapBack<T>(int begin, int end)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
begin |
|
System.Int32 |
end |
|
Type Parameters
Resize<T>(Int32, Allocator)
Declaration
public void Resize<T>(int targetSize, Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
targetSize |
|
Allocator |
allocator |
|
Type Parameters
SetCapacity<T>(Int32, Allocator)
Declaration
public void SetCapacity<T>(int targetCapacity, Allocator allocator = null)
where T : struct
Parameters
Type |
Name |
Description |
System.Int32 |
targetCapacity |
|
Allocator |
allocator |
|
Type Parameters
Extension Methods