Struct BlobArray<T>
An immutable array of value types stored in a blob asset.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public struct BlobArray<T> where T : structType Parameters
| Name | Description | 
|---|---|
| T | The data type of the elements in the array. Must be a struct or other value type. | 
Remarks
When creating a blob asset, use the BlobBuilderArray<T> provided by a BlobBuilder instance to set the array elements.
Properties
| Name | Description | 
|---|---|
| this[int] | The element of the array at the  | 
| Length | The number of elements in the array. | 
Methods
| Name | Description | 
|---|---|
| GetUnsafePtr() | Provides an unsafe pointer to the array data. | 
| ToArray() | Copies the elements of this BlobArray to a new managed array. |