Vixen
02b45cc4
csharp
public struct Possessing

What a controller is driving. Absent when it is driving nothing.

Read the guide page for this →

As a component

Size
16 bytes — 585 rows in a 16 KB chunk, alone on the archetype

Remarks

Absent rather than Null, so "is possessing something" is an archetype question and the driven controllers can be found with a mask test — the same argument Parent makes for roots.

⚠ Not [DataContract], so no scene can carry one. An entity handle names a slot in the world that issued it and means nothing in another — the line CameraTargets and PhysicsBody are already on. A scene therefore places pawns and shots, and something running in the world decides who drives what.

Fields and properties (1)

Used by (5)

  • LocalPlayerSystemVixen.Net.Engine
  • PlayerVixen.Engine
  • PossessionSystemVixen.Engine
  • PossessionTestsVixen.Engine.Tests
  • TypeRegistrationVixen.Engine