Class MaximumChunkCapacityAttribute
Specifies the maximum number of components of a type that can be stored in the same chunk.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class MaximumChunkCapacityAttribute : Attribute
Remarks
Place this attribute on the declaration of a component, such as IComponent
If an archetype contains more than one component type specifying a chunk capacity limit, then the lowest limit
is used.
Constructors
Name | Description |
---|---|
Maximum |
The maximum number of entities having this component type in an Archetype |
Fields
Name | Description |
---|---|
Capacity | The maximum number of entities having this component type in an Archetype |