Galaxy::Navigator
Inherits Reference < Object
Constants
MAX_DISTANCE = 300000.0 * LY_AU
TOUR = ["earth", "moon", "mars", "jupiter", "saturn", "solar", "neighborhood", "pleiades", "orion", "center", "galaxy"]
Constructors
new(universe : Universe)
SourceInstance methods
auto_orbit=(auto_orbit : Bool)
Sourceauto_orbit?
Sourcecamera(width : Float64, height : Float64) : Camera
Sourcedistance
Sourceflight
Sourcelabels=(labels : Bool)
Sourcelabels?
Sourcemanual_control
Sourcemessage
Sourcemove(strafe : Float64, vertical : Float64, forward : Float64, dt : Float64)
Sourceorbit(dx : Float64, dy : Float64)
Sourceorbits=(orbits : Bool)
Sourceorbits?
Sourcepan(dx : Float64, dy : Float64, width : Float64, height : Float64)
Sourcepitch
Sourcescale_name
Sourcesearch(query : String) : Bool
Sourceselected
Sourceselected_id
Sourcestart_tour
Sourcestop_tour
Sourcetarget
Sourcetouring?
Sourcetravel_to(id : String, animated = true)
Sourceupdate(dt : Float64)
Sourceyaw
Sourcezoom(amount : Float64)
Source