Table of Contents

Class PreviewShapeData

Namespace
MoonBark.GridPlacement.Core.Data.Placement
Assembly
MoonBark.GridPlacement.Core.dll

Shape configuration data for preview rendering.

public class PreviewShapeData
Inheritance
PreviewShapeData
Inherited Members

Properties

PolygonPoints

Custom polygon points for complex shapes (if ShapeType is Custom).

public List<CoreVector2I> PolygonPoints { get; set; }

Property Value

List<CoreVector2I>

Radius

Radius for circular shapes.

public int Radius { get; set; }

Property Value

int

ShapeType

Type of shape to render.

public PreviewShapeType ShapeType { get; set; }

Property Value

PreviewShapeType

Size

Size of the shape in grid units.

public CoreVector2I Size { get; set; }

Property Value

CoreVector2I