Class: Kamelopard::Camera
- Inherits:
-
AbstractView
- Object
- Object
- AbstractView
- Kamelopard::Camera
- Defined in:
- lib/kamelopard/classes.rb
Overview
Corresponds to KML’s Camera object
Instance Attribute Summary
Attributes inherited from AbstractView
#altitudeMode, #className, #heading, #point, #roll, #tilt, #timespan, #timestamp, #viewerOptions
Attributes inherited from Object
Instance Method Summary collapse
-
#initialize(point = nil, options = {}) ⇒ Camera
constructor
A new instance of Camera.
- #range ⇒ Object
- #range= ⇒ Object
Methods inherited from AbstractView
#[], #[]=, #altitude, #altitude=, #latitude, #latitude=, #longitude, #longitude=, #to_kml
Methods inherited from Object
Constructor Details
Instance Method Details
#range ⇒ Object
473 474 475 |
# File 'lib/kamelopard/classes.rb', line 473 def range raise "The range element is part of LookAt objects, not Camera objects" end |
#range= ⇒ Object
477 478 479 |
# File 'lib/kamelopard/classes.rb', line 477 def range= # The range element doesn't exist in Camera objects end |