Class: Collada::Parser::VisualScene::NodeReference

Inherits:
Reference
  • Object
show all
Defined in:
lib/collada/parser/visual_scene.rb

Instance Attribute Summary

Attributes inherited from Reference

#kind, #url

Instance Method Summary collapse

Methods inherited from Reference

#id, #to_s

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