39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
namespace RobotNet10.MapEditor.Shared.DTOs.Layout;
|
|
|
|
/// <summary>
|
|
/// Layout level editor settings data transfer object
|
|
/// </summary>
|
|
public class LayoutLevelEditorSettingsDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid LevelId { get; set; }
|
|
|
|
// Edge Settings
|
|
public double EdgeMinLengthCreate { get; set; }
|
|
public bool EdgeNameAutoGenerate { get; set; }
|
|
|
|
// Node Settings
|
|
public bool NodeNameAutoGenerate { get; set; }
|
|
public double NodeProximityRadius { get; set; }
|
|
|
|
// Coordinate System
|
|
public double OriginX { get; set; }
|
|
public double OriginY { get; set; }
|
|
public double Resolution { get; set; }
|
|
|
|
// Coordinate Bounds
|
|
public double? BoundsMinX { get; set; }
|
|
public double? BoundsMaxX { get; set; }
|
|
public double? BoundsMinY { get; set; }
|
|
public double? BoundsMaxY { get; set; }
|
|
|
|
// Background Image
|
|
public double? ImageWidth { get; set; }
|
|
public double? ImageHeight { get; set; }
|
|
|
|
// Metadata
|
|
public DateTime CreatedDate { get; set; }
|
|
public DateTime ModifiedDate { get; set; }
|
|
}
|
|
|