Class: Rgltf::Extensions::KHRLightsPunctual::NodeLight
- Inherits:
-
Object
- Object
- Rgltf::Extensions::KHRLightsPunctual::NodeLight
- Defined in:
- lib/rgltf/extensions/khr_lights_punctual.rb
Instance Attribute Summary collapse
-
#light ⇒ Object
readonly
Returns the value of attribute light.
Instance Method Summary collapse
-
#initialize(light) ⇒ NodeLight
constructor
A new instance of NodeLight.
Constructor Details
#initialize(light) ⇒ NodeLight
Returns a new instance of NodeLight.
17 18 19 |
# File 'lib/rgltf/extensions/khr_lights_punctual.rb', line 17 def initialize(light) @light = light end |
Instance Attribute Details
#light ⇒ Object (readonly)
Returns the value of attribute light.
15 16 17 |
# File 'lib/rgltf/extensions/khr_lights_punctual.rb', line 15 def light @light end |