Field SizeInChunk
The number of bytes used in a Chunk to store an instance of this component.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public readonly int SizeInChunk
Returns
Type | Description |
---|---|
int |
Remarks
Note that this includes internal capacity and header overhead for buffers. Also, note that components with no member variables will have a SizeInChunk of 0, but will have a TypeSize of GREATER than 0 (since C# does not allow for zero-sized types).