Struct DynamicTypeList | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Struct DynamicTypeList

    Namespace: Unity.NetCode
    Syntax
    public struct DynamicTypeList

    Fields

    MaxCapacity

    Declaration
    public const int MaxCapacity = 128
    Field Value
    Type Description
    Int32

    Methods

    PopulateList<T>(SystemBase, DynamicBuffer<GhostCollectionComponentType>, Boolean, ref T)

    Declaration
    public static void PopulateList<T>(SystemBase system, DynamicBuffer<GhostCollectionComponentType> ghostComponentCollection, bool readOnly, ref T list)
        where T : struct, IDynamicTypeList
    Parameters
    Type Name Description
    SystemBase system
    DynamicBuffer<GhostCollectionComponentType> ghostComponentCollection
    Boolean readOnly
    T list
    Type Parameters
    Name Description
    T

    PopulateListFromArray<T>(SystemBase, NativeArray<ComponentType>, Boolean, ref T)

    Declaration
    public static void PopulateListFromArray<T>(SystemBase system, NativeArray<ComponentType> componentTypes, bool readOnly, ref T list)
        where T : struct, IDynamicTypeList
    Parameters
    Type Name Description
    SystemBase system
    NativeArray<ComponentType> componentTypes
    Boolean readOnly
    T list
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021