docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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).

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)