Vixen
02b45cc4
csharp
public struct XrTrackedPose

An entity that follows a tracked device.

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

Remarks

Adding this is what makes an entity follow the headset or a controller, and removing it stops it — there is no register call, which is the same bargain every other ECS bridge in the engine makes.

Fields and properties (5)

  • public XrTrackedDevice Device

    What it follows.

  • public bool ApplyPosition

    Whether to write the tracked position.

  • public bool ApplyRotation

    Whether to write the tracked rotation.

  • public bool IsTracked

    Whether the device was actually tracked this frame. Written by the system.

  • public XrPose Pose

    The raw pose, in the reference space, before the rig was applied. Written by the system.

Methods (1)

Used by (2)

  • XrTrackingSystemVixen.Xr
  • XrTrackingSystemTestsVixen.Xr.Tests