Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BoxRenderComponentType = ecs.NewComponentType[*BoxRenderComponent]()
Functions ¶
func BoxRenderer ¶
Types ¶
type BoxRenderComponent ¶
type BoxRenderComponent struct {
Min geometry.Point64
Max geometry.Point64
IsLocal bool
DrawBorder bool
DrawFill bool
BorderColor color.RGBA
FillColor color.RGBA
BorderWidth float32
ZOrder int
}
func NewBoxRenderComponent ¶
func NewBoxRenderComponent(zOrder int) *BoxRenderComponent
func (*BoxRenderComponent) Type ¶
func (brc *BoxRenderComponent) Type() ecs.ComponentType
Click to show internal directories.
Click to hide internal directories.