audio

package
v0.0.0-...-48e9ae6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2020 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioCapture

type AudioCapture struct {
	// contains filtered or unexported fields
}

func (*AudioCapture) Cleanup

func (t *AudioCapture) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*AudioCapture) Start

func (t *AudioCapture) Start(a *app.App)

Start is called once at the start of the demo.

func (*AudioCapture) Update

func (t *AudioCapture) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type AudioDirection

type AudioDirection struct {
	// contains filtered or unexported fields
}

func (*AudioDirection) Cleanup

func (t *AudioDirection) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*AudioDirection) Start

func (t *AudioDirection) Start(a *app.App)

Start is called once at the start of the demo.

func (*AudioDirection) Update

func (t *AudioDirection) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type AudioDoppler

type AudioDoppler struct {
	// contains filtered or unexported fields
}

func (*AudioDoppler) Cleanup

func (t *AudioDoppler) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*AudioDoppler) Start

func (t *AudioDoppler) Start(a *app.App)

Start is called once at the start of the demo.

func (*AudioDoppler) Update

func (t *AudioDoppler) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type AudioPlayer

type AudioPlayer struct {
	// contains filtered or unexported fields
}

func (*AudioPlayer) Cleanup

func (t *AudioPlayer) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*AudioPlayer) Start

func (t *AudioPlayer) Start(a *app.App)

Start is called once at the start of the demo.

func (*AudioPlayer) Update

func (t *AudioPlayer) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type AudioPosition

type AudioPosition struct {
	// contains filtered or unexported fields
}

func (*AudioPosition) Cleanup

func (t *AudioPosition) Cleanup(a *app.App)

Cleanup is called once at the end of the demo.

func (*AudioPosition) Start

func (t *AudioPosition) Start(a *app.App)

Start is called once at the start of the demo.

func (*AudioPosition) Update

func (t *AudioPosition) Update(a *app.App, deltaTime time.Duration)

Update is called every frame.

type PlayerCone

type PlayerCone struct {
	graphic.Mesh
	// contains filtered or unexported fields
}

func NewPlayerCone

func NewPlayerCone(app *app.App, filename string, color *math32.Color) *PlayerCone

func (*PlayerCone) Direction

func (pc *PlayerCone) Direction() math32.Vector3

func (*PlayerCone) SetDirection

func (pc *PlayerCone) SetDirection(vdir *math32.Vector3)

func (*PlayerCone) Toggle

func (pc *PlayerCone) Toggle()

type PlayerControl

type PlayerControl struct {
	gui.Panel // Embedded panel
	// contains filtered or unexported fields
}

func NewPlayerControl

func NewPlayerControl(a *app.App, filename string) (*PlayerControl, error)

func (*PlayerControl) Dispose

func (pc *PlayerControl) Dispose()

func (*PlayerControl) UpdateTime

func (pc *PlayerControl) UpdateTime()

type PlayerSphere

type PlayerSphere struct {
	graphic.Mesh
	// contains filtered or unexported fields
}

func NewPlayerSphere

func NewPlayerSphere(a *app.App, filename string, color *math32.Color) *PlayerSphere

func (*PlayerSphere) Toggle

func (ps *PlayerSphere) Toggle()

func (*PlayerSphere) Update

func (ss *PlayerSphere) Update(a *app.App)

func (*PlayerSphere) UpdateVel

func (ps *PlayerSphere) UpdateVel(a *app.App, deltaTime time.Duration)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL