Editor/TransformStates.cs
#nullable enable
using Sandbox;

namespace BlenderActions;

/// <summary>Captures one game object and its world position.</summary>
internal readonly record struct PositionState(GameObject Object, Vector3 Position);
/// <summary>Captures one game object, world position, and world rotation.</summary>
internal readonly record struct RotationState(GameObject Object, Vector3 Position, Rotation Rotation);
/// <summary>Captures one game object, world position, world rotation, and world scale.</summary>
internal readonly record struct ScaleState(
    GameObject Object,
    Vector3 Position,
    Rotation Rotation,
    Vector3 Scale);