NativeFixedLengthAttribute
Indicates that a native container has a size that will never change.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Field)]public sealed class NativeFixedLengthAttribute : Attribute
Fields
Value | Description |
|---|---|
| FixedLength | Represents the fixed number of elements in a native container. |
Constructors
Constructor | Description |
|---|---|
| NativeFixedLengthAttribute(System.Int32) | Initializes and returns an instance of NativeFixedLengthAttribute. |