Class: Collada::Parser::Scene

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(library) ⇒ Scene

Returns a new instance of Scene.



266
267
268
# File 'lib/collada/parser/scene.rb', line 266

def initialize(library)
	@library = library
end

Instance Attribute Details

#libraryObject (readonly)

Returns the value of attribute library.



270
271
272
# File 'lib/collada/parser/scene.rb', line 270

def library
  @library
end

Class Method Details

.parse(doc) ⇒ Object



272
273
274
275
276
# File 'lib/collada/parser/scene.rb', line 272

def self.parse(doc)
	scene = doc.elements['COLLADA/scene']
	
	library = Library.parse(doc)
end