Class: Lightwave::LightwaveObject::SurfaceProperty
- Inherits:
-
Object
- Object
- Lightwave::LightwaveObject::SurfaceProperty
- Defined in:
- lib/lightwave.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#intensity ⇒ Object
Returns the value of attribute intensity.
Instance Method Summary collapse
-
#initialize(strio) ⇒ SurfaceProperty
constructor
A new instance of SurfaceProperty.
Constructor Details
#initialize(strio) ⇒ SurfaceProperty
Returns a new instance of SurfaceProperty.
152 153 154 |
# File 'lib/lightwave.rb', line 152 def initialize(strio) @intensity = strio.read_float end |
Instance Attribute Details
#intensity ⇒ Object
Returns the value of attribute intensity.
151 152 153 |
# File 'lib/lightwave.rb', line 151 def intensity @intensity end |