Control

package
v0.0.0-...-9749107 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const WASDControlFactoryName = "UI.Control.WASDControl"

Variables

This section is empty.

Functions

This section is empty.

Types

type WASDControl

type WASDControl struct {
	Scene.INode

	KeyboardSensitivity float32
	MouseSensitivity    float32
	// contains filtered or unexported fields
}

func (*WASDControl) MoveForwards

func (node *WASDControl) MoveForwards(amount float32)

func (*WASDControl) MoveSidewards

func (node *WASDControl) MoveSidewards(amount float32)

func (*WASDControl) Rotate

func (node *WASDControl) Rotate(x float32, y float32)

func (*WASDControl) SetBase

func (node *WASDControl) SetBase(base Scene.INode)

func (*WASDControl) Tick

func (node *WASDControl) Tick(timeDelta float32) error

func (*WASDControl) Translate

func (node *WASDControl) Translate(vec GeometryMath.Vector3)

func (*WASDControl) UnmarshalYAML

func (node *WASDControl) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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