Class: Ogre::Light
Instance Attribute Summary collapse
-
#scene_manager ⇒ Object
Returns the value of attribute scene_manager.
Instance Method Summary collapse
-
#ambient ⇒ Object
Return the scene’s total ambient color.
-
#ambient=(*args) ⇒ Object
Set the scene’s total ambient color.
Instance Attribute Details
#scene_manager ⇒ Object
Returns the value of attribute scene_manager.
3 4 5 |
# File 'lib/shattered_view/ogrerb/light.rb', line 3 def scene_manager @scene_manager end |
Instance Method Details
#ambient ⇒ Object
Return the scene’s total ambient color
16 17 18 |
# File 'lib/shattered_view/ogrerb/light.rb', line 16 def ambient scene_manager.get_ambient_light end |
#ambient=(*args) ⇒ Object
Set the scene’s total ambient color
21 22 23 |
# File 'lib/shattered_view/ogrerb/light.rb', line 21 def ambient=(*args) scene_manager.set_ambient_light *args end |