Method: Lightwave::LightwaveObject::Surface#initialize

Defined in:
lib/lightwave.rb

#initialize(strio) ⇒ Surface

Returns a new instance of Surface.



306
307
308
309
310
311
312
313
# File 'lib/lightwave.rb', line 306

def initialize(strio)
  @errors = []
  @name = strio.read_string
  @parent_name = strio.read_string
  @textures = []
  process_tags(strio)
  @textures.each {|t| @errors += t.errors}
end