MCPcopy
hub / github.com/EngoEngine/engo / EntityScroller

Struct EntityScroller

common/camera.go:368–372  ·  view source on GitHub ↗

EntityScroller scrolls the camera to the position of a entity using its space component.

Source from the content-addressed store, hash-verified

366
367// EntityScroller scrolls the camera to the position of a entity using its space component.
368type EntityScroller struct {
369 *SpaceComponent
370 TrackingBounds engo.AABB
371 Rotation bool
372}
373
374// New adjusts CameraBounds to the bounds of EntityScroller.
375func (c *EntityScroller) New(*ecs.World) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected