Struct EntityCommandBuffer.Concurrent | Entities | 0.2.0-preview.18
docs.unity3d.com
    Show / Hide Table of Contents

    Struct EntityCommandBuffer.Concurrent

    Allows concurrent (deterministic) command buffer recording.

    Namespace: Unity.Entities
    Syntax
    public struct Concurrent

    Methods

    AddBuffer<T>(Int32, Entity)

    Declaration
    public DynamicBuffer<T> AddBuffer<T>(int jobIndex, Entity e)
        where T : struct, IBufferElementData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    Returns
    Type Description
    DynamicBuffer<T>
    Type Parameters
    Name Description
    T

    AddComponent(Int32, Entity, ComponentType)

    Declaration
    public void AddComponent(int jobIndex, Entity e, ComponentType componentType)
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    ComponentType componentType

    AddComponent<T>(Int32, Entity)

    Declaration
    public void AddComponent<T>(int jobIndex, Entity e)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    Type Parameters
    Name Description
    T

    AddComponent<T>(Int32, Entity, T)

    Declaration
    public void AddComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    AddSharedComponent<T>(Int32, Entity, T)

    Declaration
    public void AddSharedComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    CreateEntity(Int32, EntityArchetype)

    Declaration
    public Entity CreateEntity(int jobIndex, EntityArchetype archetype = default(EntityArchetype))
    Parameters
    Type Name Description
    Int32 jobIndex
    EntityArchetype archetype
    Returns
    Type Description
    Entity

    DestroyEntity(Int32, Entity)

    Declaration
    public void DestroyEntity(int jobIndex, Entity e)
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e

    Instantiate(Int32, Entity)

    Declaration
    public Entity Instantiate(int jobIndex, Entity e)
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    Returns
    Type Description
    Entity

    RemoveComponent(Int32, Entity, ComponentType)

    Declaration
    public void RemoveComponent(int jobIndex, Entity e, ComponentType componentType)
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    ComponentType componentType

    RemoveComponent<T>(Int32, Entity)

    Declaration
    public void RemoveComponent<T>(int jobIndex, Entity e)
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    Type Parameters
    Name Description
    T

    SetBuffer<T>(Int32, Entity)

    Declaration
    public DynamicBuffer<T> SetBuffer<T>(int jobIndex, Entity e)
        where T : struct, IBufferElementData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    Returns
    Type Description
    DynamicBuffer<T>
    Type Parameters
    Name Description
    T

    SetComponent<T>(Int32, Entity, T)

    Declaration
    public void SetComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    SetSharedComponent<T>(Int32, Entity, T)

    Declaration
    public void SetSharedComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX