Class: Collada::Parser::VisualScene::GeometryInstance
- Defined in:
- lib/collada/parser/visual_scene.rb
Instance Attribute Summary
Attributes inherited from Reference
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url) ⇒ GeometryInstance
constructor
A new instance of GeometryInstance.
Methods inherited from Reference
Constructor Details
#initialize(url) ⇒ GeometryInstance
Returns a new instance of GeometryInstance.
38 39 40 |
# File 'lib/collada/parser/visual_scene.rb', line 38 def initialize(url) super :geometries, url end |
Class Method Details
.parse(doc, element) ⇒ Object
42 43 44 |
# File 'lib/collada/parser/visual_scene.rb', line 42 def self.parse(doc, element) self.new(element.attributes['url']) end |