Documentation ¶
Index ¶
- func InitToolsMap(ctx *Context)
- func PackSlider(slider *widget.Slider, changes ...func(f float64)) fyne.CanvasObject
- func SetMainMenu(a fyne.App, w fyne.Window, ctx *Context)
- func SetUi(a fyne.App, w fyne.Window)
- type Context
- func (s *Context) AfterInit()
- func (s *Context) AppendAfterInit(ss ...func())
- func (s *Context) AppendSampleChange(ss ...SampleChange)
- func (s *Context) AppendShow(sample string, shows ...fyne.CanvasObject)
- func (s *Context) Config() *config.Config
- func (s *Context) OnSampleChange(sample string)
- func (s *Context) Refresh()
- type Props
- func (p *Props) GetAgent() (res []fyne.CanvasObject)
- func (p *Props) GetDetailMesh() (res []fyne.CanvasObject)
- func (p *Props) GetDraw() (res []fyne.CanvasObject)
- func (p *Props) GetFiltering() (res []fyne.CanvasObject)
- func (p *Props) GetItermediateResults() (res []fyne.CanvasObject)
- func (p *Props) GetPartitioning() (res []fyne.CanvasObject)
- func (p *Props) GetPolygonization() (res []fyne.CanvasObject)
- func (p *Props) GetRasterization() (res []fyne.CanvasObject)
- func (p *Props) GetRegion() (res []fyne.CanvasObject)
- func (p *Props) GetRenderObj() fyne.CanvasObject
- func (p *Props) GetSample() (res []fyne.CanvasObject)
- func (p *Props) GetTileCache() (res []fyne.CanvasObject)
- func (p *Props) GetTiling() (res []fyne.CanvasObject)
- func (p *Props) SampleChange(sample string)
- type SampleChange
- type ToolOffMeshConnection
- type Tools
- type ToolsCreateConvexVolumes
- type ToolsCreateTempObstacles
- type ToolsCreateTitles
- type ToolsCrowds
- type ToolsHighlightTileCache
- type ToolsPruneNavmesh
- type ToolsRender
- type ToolsTestNavmesh
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitToolsMap ¶
func InitToolsMap(ctx *Context)
func PackSlider ¶
func SetMainMenu ¶
func SetMainMenu(a fyne.App, w fyne.Window, ctx *Context)
Types ¶
type Context ¶
type Context struct { Sample string Shows []fyne.CanvasObject ShowChanges map[string][]fyne.CanvasObject SampleChanges []SampleChange // contains filtered or unexported fields }
func NewContext ¶
func (*Context) AppendAfterInit ¶
func (s *Context) AppendAfterInit(ss ...func())
func (*Context) AppendSampleChange ¶
func (s *Context) AppendSampleChange(ss ...SampleChange)
func (*Context) AppendShow ¶
func (*Context) OnSampleChange ¶
type Props ¶
type Props struct {
// contains filtered or unexported fields
}
func (*Props) GetDetailMesh ¶
func (p *Props) GetDetailMesh() (res []fyne.CanvasObject)
func (*Props) GetFiltering ¶
func (p *Props) GetFiltering() (res []fyne.CanvasObject)
func (*Props) GetItermediateResults ¶
func (p *Props) GetItermediateResults() (res []fyne.CanvasObject)
func (*Props) GetPartitioning ¶
func (p *Props) GetPartitioning() (res []fyne.CanvasObject)
func (*Props) GetPolygonization ¶
func (p *Props) GetPolygonization() (res []fyne.CanvasObject)
func (*Props) GetRasterization ¶
func (p *Props) GetRasterization() (res []fyne.CanvasObject)
func (*Props) GetRenderObj ¶
func (p *Props) GetRenderObj() fyne.CanvasObject
func (*Props) GetTileCache ¶
func (p *Props) GetTileCache() (res []fyne.CanvasObject)
func (*Props) SampleChange ¶
type SampleChange ¶
type SampleChange interface {
SampleChange(Sample string)
}
type ToolOffMeshConnection ¶
type ToolOffMeshConnection struct {
// contains filtered or unexported fields
}
func NewToolOffMeshConnection ¶
func NewToolOffMeshConnection(ctx *Context) *ToolOffMeshConnection
func (*ToolOffMeshConnection) GetRenderObjs ¶
func (t *ToolOffMeshConnection) GetRenderObjs() (res []fyne.CanvasObject)
type Tools ¶
type Tools struct {
// contains filtered or unexported fields
}
func (*Tools) GetRenderObj ¶
func (t *Tools) GetRenderObj() fyne.CanvasObject
func (*Tools) SampleChange ¶
type ToolsCreateConvexVolumes ¶
type ToolsCreateConvexVolumes struct {
// contains filtered or unexported fields
}
func NewToolsCreateConvexVolumes ¶
func NewToolsCreateConvexVolumes(ctx *Context) *ToolsCreateConvexVolumes
func (*ToolsCreateConvexVolumes) GetRenderObjs ¶
func (t *ToolsCreateConvexVolumes) GetRenderObjs() (res []fyne.CanvasObject)
type ToolsCreateTempObstacles ¶
type ToolsCreateTempObstacles struct {
// contains filtered or unexported fields
}
func (ToolsCreateTempObstacles) GetRenderObjs ¶
func (t ToolsCreateTempObstacles) GetRenderObjs() []fyne.CanvasObject
type ToolsCreateTitles ¶
type ToolsCreateTitles struct {
// contains filtered or unexported fields
}
func NewToolsCreateTitles ¶
func NewToolsCreateTitles(ctx *Context) *ToolsCreateTitles
func (*ToolsCreateTitles) GetRenderObjs ¶
func (t *ToolsCreateTitles) GetRenderObjs() (res []fyne.CanvasObject)
type ToolsCrowds ¶
type ToolsCrowds struct {
// contains filtered or unexported fields
}
func NewToolsCrowds ¶
func NewToolsCrowds(ctx *Context) *ToolsCrowds
func (*ToolsCrowds) GetRenderObjs ¶
func (t *ToolsCrowds) GetRenderObjs() (res []fyne.CanvasObject)
type ToolsHighlightTileCache ¶
type ToolsHighlightTileCache struct {
// contains filtered or unexported fields
}
func NewToolsHighlightTileCache ¶
func NewToolsHighlightTileCache(ctx *Context) *ToolsHighlightTileCache
func NewToolsToolsCreateTempObstacles ¶
func NewToolsToolsCreateTempObstacles(ctx *Context) *ToolsHighlightTileCache
func (ToolsHighlightTileCache) GetRenderObjs ¶
func (t ToolsHighlightTileCache) GetRenderObjs() []fyne.CanvasObject
type ToolsPruneNavmesh ¶
type ToolsPruneNavmesh struct { }
func NewToolsPruneNavmesh ¶
func NewToolsPruneNavmesh(ctx *Context) *ToolsPruneNavmesh
func (*ToolsPruneNavmesh) GetRenderObjs ¶
func (t *ToolsPruneNavmesh) GetRenderObjs() (res []fyne.CanvasObject)
type ToolsRender ¶
type ToolsRender interface {
GetRenderObjs() []fyne.CanvasObject
}
type ToolsTestNavmesh ¶
type ToolsTestNavmesh struct {
// contains filtered or unexported fields
}
func NewToolsTestNavmesh ¶
func NewToolsTestNavmesh(ctx *Context) *ToolsTestNavmesh
func (*ToolsTestNavmesh) GetRenderObjs ¶
func (t *ToolsTestNavmesh) GetRenderObjs() (res []fyne.CanvasObject)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.