Files
RoomAwareVR/Assets/_Scripts/GhostSystem/GhostFrame.cs
T
2025-05-26 01:23:52 +02:00

27 lines
624 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GhostSystem
{
[System.Serializable]
public class GhostFrame
{
public string SceneId;
public string ObjectId;
public System.DateTime Timestamp;
public Vector3 Position;
public Quaternion Rotation;
public GhostFrame(string sceneId, string objectId, Vector3 pos, Quaternion rot)
{
SceneId = sceneId;
ObjectId = objectId;
Position = pos;
Rotation = rot;
Timestamp = System.DateTime.UtcNow;
}
}
}