mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 15:07:48 +04:00
17 lines
364 B
C#
17 lines
364 B
C#
using System.Numerics;
|
|
using NResUI.Rendering.Viewport.Meshes;
|
|
|
|
namespace NResUI.Rendering.Viewport;
|
|
|
|
public sealed class ViewportGrid
|
|
{
|
|
public GpuMesh Mesh { get; }
|
|
public bool IsVisible { get; set; } = true;
|
|
public Matrix4x4 LocalTransform { get; set; } = Matrix4x4.Identity;
|
|
|
|
public ViewportGrid(GpuMesh mesh)
|
|
{
|
|
Mesh = mesh;
|
|
}
|
|
}
|