Vixen
02b45cc4
csharp
public struct Sibling

An entity's place in its parent's child list.

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

Remarks

Intrusive and doubly linked, so adding or removing a child is O(1) with no allocation — the property that makes reparenting cheap enough to do in gameplay code rather than only at load.

Fields and properties (2)

  • public Entity Next

    The next child of the same parent, or Null.

  • public Entity Previous

    The previous child of the same parent, or Null.

Used by (9)

  • EnumeratorVixen.Engine
  • HierarchyVixen.Engine
  • HierarchyTestsVixen.Engine.Tests
  • PrefabVixen.Engine
  • SiblingOrderTestsVixen.Engine.Tests
  • TransformSystemVixen.Engine
  • WorldSerializerVixen.Engine
  • SubtreeSnapshotVixen.Editor.SceneView
  • WorldSnapshotVixen.Editor.SceneView