Class: Stagecraft::Scene

Inherits:
Node
  • Object
show all
Defined in:
lib/stagecraft/core/scene.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#cast_shadow, #children, #name, #parent, #position, #receive_shadow, #render_order, #rotation, #scale, #visible, #world_version

Method Summary

Methods inherited from Node

#add, #find, #initialize, #local_matrix, #look_at, #remove, #transform_dirty!, #traverse, #world_matrix, #world_matrix_with_version, #world_position

Constructor Details

This class inherits a constructor from Stagecraft::Node

Instance Attribute Details

#backgroundObject

Returns the value of attribute background.



5
6
7
# File 'lib/stagecraft/core/scene.rb', line 5

def background
  @background
end