EntityExtensions.md

July 6, 2024 · View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS

EntityExtensions Class

Provide extension methods to optimize Entity modifications.
Add() and Remove() cause only none or one structural change.

public static class EntityExtensions

Inheritance System.Object 🡒 EntityExtensions

Methods
Add<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4,T5,T6,T7,T8,T9>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8, T9, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4,T5,T6,T7,T8>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4,T5,T6,T7>(this Entity, T1, T2, T3, T4, T5, T6, T7, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4,T5,T6>(this Entity, T1, T2, T3, T4, T5, T6, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4,T5>(this Entity, T1, T2, T3, T4, T5, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3,T4>(this Entity, T1, T2, T3, T4, Tags)Add the passed components and tags to the entity.
Add<T1,T2,T3>(this Entity, T1, T2, T3, Tags)Add the passed components and tags to the entity.
Add<T1,T2>(this Entity, T1, T2, Tags)Add the passed components and tags to the entity.
Add<T1>(this Entity, T1, Tags)Add the passed component and tags to the entity.
CountAllIncomingLinks(this Entity)
CountAllOutgoingLinks(this Entity)
GetAllIncomingLinks(this Entity)
Remove<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4,T5,T6,T7,T8,T9>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4,T5,T6,T7,T8>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4,T5,T6,T7>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4,T5,T6>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4,T5>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3,T4>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2,T3>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1,T2>(this Entity, Tags)Remove the specified components and tags from the entity.
Remove<T1>(this Entity, Tags)Remove the specified component and tags from the entity.
Set<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)Set the passed components on the entity.
Set<T1,T2,T3,T4,T5,T6,T7,T8,T9>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8, T9)Set the passed components on the entity.
Set<T1,T2,T3,T4,T5,T6,T7,T8>(this Entity, T1, T2, T3, T4, T5, T6, T7, T8)Set the passed components on the entity.
Set<T1,T2,T3,T4,T5,T6,T7>(this Entity, T1, T2, T3, T4, T5, T6, T7)Set the passed components on the entity.
Set<T1,T2,T3,T4,T5,T6>(this Entity, T1, T2, T3, T4, T5, T6)Set the passed components on the entity.
Set<T1,T2,T3,T4,T5>(this Entity, T1, T2, T3, T4, T5)Set the passed components on the entity.
Set<T1,T2,T3,T4>(this Entity, T1, T2, T3, T4)Set the passed components on the entity.
Set<T1,T2,T3>(this Entity, T1, T2, T3)Set the passed components on the entity.
Set<T1,T2>(this Entity, T1, T2)Set the passed components on the entity.
Set<T1>(this Entity, T1)Set the passed component on the entity.