Class: SkyDome

Inherits:
Object
  • Object
show all
Defined in:
lib/teien/base_object/sky_dome.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#curvatureObject

Returns the value of attribute curvature.



4
5
6
# File 'lib/teien/base_object/sky_dome.rb', line 4

def curvature
  @curvature
end

#distanceObject

Returns the value of attribute distance.



6
7
8
# File 'lib/teien/base_object/sky_dome.rb', line 6

def distance
  @distance
end

#enableObject

Returns the value of attribute enable.



2
3
4
# File 'lib/teien/base_object/sky_dome.rb', line 2

def enable
  @enable
end

#materialNameObject

Returns the value of attribute materialName.



3
4
5
# File 'lib/teien/base_object/sky_dome.rb', line 3

def materialName
  @materialName
end

#tilingObject

Returns the value of attribute tiling.



5
6
7
# File 'lib/teien/base_object/sky_dome.rb', line 5

def tiling
  @tiling
end