Class: Collada::Parser::VisualScene::GeometryInstance

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

Instance Attribute Summary

Attributes inherited from Reference

#kind, #url

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Reference

#id, #lookup, #to_s

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