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
IsValid
Gets or sets a value indicating whether the preview is valid.
public bool IsValid { get; set; }
Property Value
Opacity
Gets or sets the opacity used for preview rendering, in the range 0..1.
public float Opacity { get; set; }
Property Value
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
Size
Gets or sets the size of the preview shape.
public CoreVector2I Size { get; set; }
Property Value
- CoreVector2I