Class: SkyDome
- Inherits:
-
Object
- Object
- SkyDome
- Defined in:
- lib/teien/base_object/sky_dome.rb
Instance Attribute Summary collapse
-
#curvature ⇒ Object
Returns the value of attribute curvature.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#enable ⇒ Object
Returns the value of attribute enable.
-
#materialName ⇒ Object
Returns the value of attribute materialName.
-
#tiling ⇒ Object
Returns the value of attribute tiling.
Instance Method Summary collapse
-
#initialize(enable, materialName, curvature = 10, tiling = 8, distance = 4000) ⇒ SkyDome
constructor
A new instance of SkyDome.
Constructor Details
#initialize(enable, materialName, curvature = 10, tiling = 8, distance = 4000) ⇒ SkyDome
Returns a new instance of SkyDome.
8 9 10 11 12 13 14 |
# File 'lib/teien/base_object/sky_dome.rb', line 8 def initialize(enable, materialName, curvature = 10, tiling = 8, distance = 4000) @enable = enable @materialName = materialName @curvature = curvature @tiling = tiling @distance = distance end |
Instance Attribute Details
#curvature ⇒ Object
Returns the value of attribute curvature.
4 5 6 |
# File 'lib/teien/base_object/sky_dome.rb', line 4 def curvature @curvature end |
#distance ⇒ Object
Returns the value of attribute distance.
6 7 8 |
# File 'lib/teien/base_object/sky_dome.rb', line 6 def distance @distance end |
#enable ⇒ Object
Returns the value of attribute enable.
2 3 4 |
# File 'lib/teien/base_object/sky_dome.rb', line 2 def enable @enable end |
#materialName ⇒ Object
Returns the value of attribute materialName.
3 4 5 |
# File 'lib/teien/base_object/sky_dome.rb', line 3 def materialName @materialName end |
#tiling ⇒ Object
Returns the value of attribute tiling.
5 6 7 |
# File 'lib/teien/base_object/sky_dome.rb', line 5 def tiling @tiling end |