Struct NativeReference<T>.ReadOnly
A read-only alias for the value of a NativeReference. Does not have its own allocated storage.
Namespace: Unity.Collections
Syntax
[NativeContainer]
[NativeContainerIsReadOnly]
public struct ReadOnly
Properties
Value
The value aliased by this reference.
Declaration
public readonly T Value { get; }
Property Value
Type | Description |
---|---|
T | The value aliased by the reference. |