/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ using System; using UnityEngine; namespace OmiLAXR.TrackingBehaviours.Learner.HeadTracking { /// /// Value type for storing HMD position data with timestamp for head tracking analysis. /// Used to collect positional samples over time for gesture recognition algorithms. /// public struct HmdTimedPosition { /// /// The timestamp when this position was recorded. /// public DateTime Timestamp; /// /// The 3D position of the HMD at the recorded timestamp. /// public Vector3 Position; /// /// Creates a new HmdTimedPosition with the specified timestamp and position. /// /// When the position was recorded /// The 3D position of the HMD public HmdTimedPosition(DateTime timestamp, Vector3 position) { Timestamp = timestamp; Position = position; } } }