Skip to content

AotEntitySerializer.CreateSnapshot(Entity) Method

Definition

Namespace: Brine2D.ECS.Serialization

Creates a snapshot of a single entity. Components whose types are not registered in the ComponentTypeRegistry are skipped with a warning.

C#
public Brine2D.ECS.Serialization.EntitySnapshot CreateSnapshot(Brine2D.ECS.Entity entity);

Parameters

entity Entity

Returns

EntitySnapshot