Struct BufferAccessor<T> | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct BufferAccessor<T>

    Namespace: Unity.Entities
    Syntax
    public struct BufferAccessor<T>
        where T : struct, IBufferElementData
    Type Parameters
    Name Description
    T

    Constructors

    BufferAccessor(Byte*, Int32, Int32, Int32)

    Declaration
    public BufferAccessor(byte *basePointer, int length, int stride, int internalCapacity)
    Parameters
    Type Name Description
    Byte* basePointer
    Int32 length
    Int32 stride
    Int32 internalCapacity

    Properties

    Item[Int32]

    Declaration
    public DynamicBuffer<T> this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    DynamicBuffer<T>
    Exceptions
    Type Condition
    InvalidOperationException

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    Int32
    In This Article
    • Constructors
      • BufferAccessor(Byte*, Int32, Int32, Int32)
    • Properties
      • Item[Int32]
      • Length
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023