Struct BufferAccessor<T> | Entities | 0.2.0-preview.18
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
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX