Scripting API

Scripting API

SceneComponent

Class in Abyss.Core.Scenes, from Abyss.Core.

One component on an entity, and the values of the fields the engine describes.

public sealed class SceneComponent

Properties

Name

public required string Name { get; init; }

The component's registered name, which is what survives being written down.

Fields

public List<SceneField> Fields { get; init; }

The fields and their values, or empty for a component that is present but not valued.

Empty means two different things and both are honest: the component is derived, so the engine recomputes it, or it describes no fields at all, so there was nothing to write.