Archetype.Components_TComponent_().md

November 22, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.Archetype

Archetype.Components() Method

Return the components of the specified TComponent type stored in the archetype.

public System.Span<TComponent> Components<TComponent>()
    where TComponent : struct, System.ValueType, System.ValueType;

Type parameters

TComponent

Returns

System.Span<TComponent>

Contents

  1. 0.1Friflo.Engine.ECS.Archetype
  2. 1Archetype.Components() Method