Table of Contents

Class PreviewShapeData

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

Preview shape data for rendering Pure C# implementation without Godot dependencies

public class PreviewShapeData
Inheritance
PreviewShapeData
Inherited Members

Properties

CoreColor

Gets or sets the color used for the shape (hex string).

public string CoreColor { get; set; }

Property Value

string

IsValid

Gets or sets a value indicating whether the preview is valid.

public bool IsValid { get; set; }

Property Value

bool

Opacity

Gets or sets the opacity used for preview rendering, in the range 0..1.

public float Opacity { get; set; }

Property Value

float

Position

Gets or sets the world/grid position of the preview shape.

public CoreVector2I Position { get; set; }

Property Value

CoreVector2I

Shape

Gets or sets the shape identifier used for rendering (e.g. Rectangle, Circle).

public string Shape { get; set; }

Property Value

string

Size

Gets or sets the size of the preview shape.

public CoreVector2I Size { get; set; }

Property Value

CoreVector2I