Documentation ¶
Index ¶
- Constants
- type WASDControl
- func (node *WASDControl) MoveForwards(amount float32)
- func (node *WASDControl) MoveSidewards(amount float32)
- func (node *WASDControl) Rotate(x float32, y float32)
- func (node *WASDControl) SetBase(base Scene.INode)
- func (node *WASDControl) Tick(timeDelta float32) error
- func (node *WASDControl) Translate(vec GeometryMath.Vector3)
- func (node *WASDControl) UnmarshalYAML(value *yaml.Node) error
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
Click to show internal directories.
Click to hide internal directories.