Galaxy::Camera
Inherits Reference < Object
Constructors
new(target : Vector, distance : Float64, yaw : Float64, pitch : Float64, width : Float64, height : Float64, up_hint : Vector | Nil = nil)
SourceInstance methods
distance
Sourcefocal
Sourceforward
Sourceheight
Sourcenear
Sourceposition
Sourceproject(position : Vector) : Projection | Nil
Subtract the local origin before projection to preserve planetary detail.
project_relative(relative : Vector) : Projection | Nil
Sourceray(x : Float64, y : Float64) : Vector
Sourceright
Sourcetarget
Sourceup
Sourcevisible?(projection : Projection, margin = 20.0) : Bool
Sourcewidth
Source