Struct BlobArray.Accessor<T>
Generic accessor.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct BlobArray.Accessor<T> where T : structType Parameters
| Name | Description | 
|---|---|
| T | Generic type parameter. | 
Constructors
Accessor(ref BlobArray)
Constructor.
Declaration
public Accessor(ref BlobArray blobArray)Parameters
| Type | Name | Description | 
|---|---|---|
| BlobArray | blobArray | [in,out] Array of blobs. | 
Properties
this[int]
Indexer to get items within this collection using array index syntax.
Declaration
public ref T this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| int | index | Zero-based index of the entry to access. | 
Property Value
| Type | Description | 
|---|---|
| T | The indexed item. | 
Length
Gets the length.
Declaration
public readonly int Length { get; }Property Value
| Type | Description | 
|---|---|
| int | The length. | 
Methods
GetEnumerator()
Gets the enumerator.
Declaration
public BlobArray.Accessor<T>.Enumerator GetEnumerator()Returns
| Type | Description | 
|---|---|
| BlobArray.Accessor<T>.Enumerator | The enumerator. |