Vixen
02b45cc4
csharp
public sealed class SceneColumn

Every entity in one block's value for one component, back to back.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Column-major rather than one record per entity, because that is the order the load writes in: a block is created as a run of entities in one archetype, and then each component is walked down that run. A record per entity would interleave the reads and gain nothing — the bytes are variable-width either way, so neither shape can be indexed into without walking.

Fields and properties (2)

  • public string Component

    Which component this is — its [DataContract] alias.

  • public byte[] Data

    Every entity's value, in the block's entity order.

Used by (11)

  • SceneAssetTestsVixen.Engine.Tests
  • SceneBlockVixen.Engine
  • SceneContentVixen.Engine
  • TypeRegistrationVixen.Engine
  • Vixen_Engine_Scenes_SceneBlockSerializerVixen.Engine
  • Vixen_Engine_Scenes_SceneColumnSerializerVixen.Engine
  • WorldSerializerVixen.Engine
  • WorldSerializerTestsVixen.Engine.Tests
  • CompiledSceneViewVixen.Editor.AssetEditors
  • SceneCompilerVixen.Editor.Assets
  • SceneImporterTestsVixen.Editor.Assets.Tests