Files
ChestPreview/ChestPreview/ChestPreview/Models/BillboardTarget.cs
2026-03-12 14:42:36 +01:00

23 lines
625 B
C#

using Vintagestory.API.MathTools;
namespace ChestPreview.Models;
internal readonly struct BillboardTarget(PreviewTarget previewTarget, Vec3d center, Vec3f right, Vec3f up, Vec3f forward, float width, float height, bool isFrontPlacement)
{
public PreviewTarget PreviewTarget { get; } = previewTarget;
public Vec3d Center { get; } = center;
public Vec3f Right { get; } = right;
public Vec3f Up { get; } = up;
public Vec3f Forward { get; } = forward;
public float Width { get; } = width;
public float Height { get; } = height;
public bool IsFrontPlacement { get; } = isFrontPlacement;
}