Documentation ¶
Index ¶
- Constants
- func NewDebugDrawGL(ctx context.Context) debug_utils.DuDebugDraw
- type BoundsItem
- type BuildSettings
- type Content
- func (c *Content) CreateRenderer() fyne.WidgetRenderer
- func (c *Content) GetConfig() *config.Config
- func (c *Content) Hide()
- func (c *Content) InputMeshChange()
- func (c *Content) MinSize() fyne.Size
- func (c *Content) Move(position fyne.Position)
- func (c *Content) Position() fyne.Position
- func (c *Content) Refresh()
- func (c *Content) Resize(size fyne.Size)
- func (c *Content) SampleChange(sample string)
- func (c *Content) SetLabel1(s string)
- func (c *Content) SetLabel2(s string)
- func (c *Content) Show()
- func (c *Content) Size() fyne.Size
- func (c *Content) ToolChange()
- func (c *Content) Visible() bool
- type ContentRender
- type ContentState
- type ConvexVolume
- type DebugDrawGL
- func (g *DebugDrawGL) AreaToCol(area int) debug_utils.Colorb
- func (g *DebugDrawGL) Begin(prim debug_utils.DuDebugDrawPrimitives, sizes ...float32)
- func (g *DebugDrawGL) DepthMask(state bool)
- func (g *DebugDrawGL) End()
- func (g *DebugDrawGL) Texture(state bool)
- func (g *DebugDrawGL) Vertex(pos []float32, color debug_utils.Colorb)
- func (g *DebugDrawGL) Vertex1(x, y, z float32, color debug_utils.Colorb)
- func (g *DebugDrawGL) Vertex2(pos []float32, color debug_utils.Colorb, uv []float32)
- func (g *DebugDrawGL) Vertex3(x, y, z float32, color debug_utils.Colorb, u, v float32)
- type GLCheckerTexture
- type ISample
- type InputGeom
- type NavMeshSetHeader
- type NavMeshTileHeader
- type Sample
- type SampleSoloMesh
- type SampleTool
- type SampleToolState
Constants ¶
View Source
const MAX_CONVEXVOL_PTS = 12
View Source
const MAX_OFFMESH_CONNECTIONS = 256
View Source
const MAX_VOLUMES = 256
View Source
const NAVMESHSET_MAGIC = 'M'<<24 | 'S'<<16 | 'E'<<8 | 'T' //'MSET';
View Source
const NAVMESHSET_VERSION = 1
Variables ¶
This section is empty.
Functions ¶
func NewDebugDrawGL ¶
func NewDebugDrawGL(ctx context.Context) debug_utils.DuDebugDraw
Types ¶
type BoundsItem ¶
type BoundsItem struct {
// contains filtered or unexported fields
}
type BuildSettings ¶
type BuildSettings struct {
// contains filtered or unexported fields
}
type Content ¶
type Content struct { widget.BaseWidget // contains filtered or unexported fields }
func NewContent ¶
func NewContent(w fyne.Window) *Content
func (*Content) CreateRenderer ¶
func (c *Content) CreateRenderer() fyne.WidgetRenderer
func (*Content) InputMeshChange ¶
func (c *Content) InputMeshChange()
func (*Content) SampleChange ¶
func (*Content) ToolChange ¶
func (c *Content) ToolChange()
type ContentRender ¶
type ContentRender struct {
// contains filtered or unexported fields
}
func (*ContentRender) Destroy ¶
func (c *ContentRender) Destroy()
func (*ContentRender) Layout ¶
func (c *ContentRender) Layout(size fyne.Size)
func (*ContentRender) MinSize ¶
func (c *ContentRender) MinSize() fyne.Size
func (*ContentRender) Objects ¶
func (c *ContentRender) Objects() []fyne.CanvasObject
func (*ContentRender) Refresh ¶
func (c *ContentRender) Refresh()
type ContentState ¶
type ContentState struct {
// contains filtered or unexported fields
}
func NewContentState ¶
func NewContentState() *ContentState
func (*ContentState) GetSize ¶
func (s *ContentState) GetSize() fyne.Size
func (*ContentState) OnKeyDown ¶
func (s *ContentState) OnKeyDown(ev *fyne.KeyEvent)
func (*ContentState) OnKeyUp ¶
func (s *ContentState) OnKeyUp(ev *fyne.KeyEvent)
type ConvexVolume ¶
type ConvexVolume struct {
// contains filtered or unexported fields
}
type DebugDrawGL ¶
type DebugDrawGL struct {
// contains filtered or unexported fields
}
func (*DebugDrawGL) AreaToCol ¶
func (g *DebugDrawGL) AreaToCol(area int) debug_utils.Colorb
func (*DebugDrawGL) Begin ¶
func (g *DebugDrawGL) Begin(prim debug_utils.DuDebugDrawPrimitives, sizes ...float32)
func (*DebugDrawGL) DepthMask ¶
func (g *DebugDrawGL) DepthMask(state bool)
func (*DebugDrawGL) End ¶
func (g *DebugDrawGL) End()
func (*DebugDrawGL) Texture ¶
func (g *DebugDrawGL) Texture(state bool)
func (*DebugDrawGL) Vertex ¶
func (g *DebugDrawGL) Vertex(pos []float32, color debug_utils.Colorb)
func (*DebugDrawGL) Vertex1 ¶
func (g *DebugDrawGL) Vertex1(x, y, z float32, color debug_utils.Colorb)
func (*DebugDrawGL) Vertex2 ¶
func (g *DebugDrawGL) Vertex2(pos []float32, color debug_utils.Colorb, uv []float32)
func (*DebugDrawGL) Vertex3 ¶
func (g *DebugDrawGL) Vertex3(x, y, z float32, color debug_utils.Colorb, u, v float32)
type GLCheckerTexture ¶
type GLCheckerTexture struct {
// contains filtered or unexported fields
}
func (*GLCheckerTexture) Bind ¶
func (c *GLCheckerTexture) Bind(ctx context.Context)
type NavMeshSetHeader ¶
type NavMeshSetHeader struct {}
func NewNavMeshSetHeader ¶
func NewNavMeshSetHeader() *NavMeshSetHeader
func (*NavMeshSetHeader) Decode ¶
func (n *NavMeshSetHeader) Decode(r *rw.ReaderWriter)
func (*NavMeshSetHeader) Encode ¶
func (n *NavMeshSetHeader) Encode(w *rw.ReaderWriter)
type NavMeshTileHeader ¶
type NavMeshTileHeader struct {}
func (*NavMeshTileHeader) Decode ¶
func (n *NavMeshTileHeader) Decode(r *rw.ReaderWriter)
func (*NavMeshTileHeader) Encode ¶
func (n *NavMeshTileHeader) Encode(w *rw.ReaderWriter)
type Sample ¶
type Sample struct {
// contains filtered or unexported fields
}
func (*Sample) HandleRender ¶
func (s *Sample) HandleRender()
type SampleSoloMesh ¶
type SampleSoloMesh struct { *Sample // contains filtered or unexported fields }
func (*SampleSoloMesh) HandleRender ¶
func (s *SampleSoloMesh) HandleRender()
type SampleTool ¶
type SampleTool interface { Type() int // contains filtered or unexported methods }
type SampleToolState ¶
type SampleToolState interface {
// contains filtered or unexported methods
}
Source Files ¶
- chunky_tri_mesh.go
- content.go
- convex_volume_tool.go
- crowd_tool.go
- input_geom.go
- mesh_load_obj.go
- mesh_test_tool.go
- offmesh_connection_tool.go
- sample.go
- sample_debug.go
- sample_debug_draw.go
- sample_solo_mesh.go
- sample_temp_obstacles.go
- sample_title_mesh.go
- sample_title_mesh_tool.go
- shader.go
- test_case.go
- value_history.go
Click to show internal directories.
Click to hide internal directories.