Struct BlobArray.Accessor<T>
Generic accessor.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct Accessor<T>
where T : struct
Type 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
Item[Int32]
Indexer to get items within this collection using array index syntax.
Declaration
public readonly ref T this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | Zero-based index of the entry to access. |
Property Value
Type | Description |
---|---|
T | The indexed item. |
Length
Gets the length.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
Int32 | The length. |
Methods
GetEnumerator()
Gets the enumerator.
Declaration
public BlobArray.Accessor<T>.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
BlobArray.Accessor.Enumerator<> | The enumerator. |