Class: Collada::Parser::VisualScene::NodeReference
- Defined in:
- lib/collada/parser/visual_scene.rb
Instance Attribute Summary
Attributes inherited from Reference
Instance Method Summary collapse
-
#initialize(url) ⇒ NodeReference
constructor
A new instance of NodeReference.
- #lookup(scene) ⇒ Object
Methods inherited from Reference
Constructor Details
#initialize(url) ⇒ NodeReference
Returns a new instance of NodeReference.
28 29 30 |
# File 'lib/collada/parser/visual_scene.rb', line 28 def initialize(url) super :nodes, url end |
Instance Method Details
#lookup(scene) ⇒ Object
32 33 34 |
# File 'lib/collada/parser/visual_scene.rb', line 32 def lookup(scene) scene[id] end |