Class: Sketchup::ShadowInfoObserver Abstract
| Relationships | |
| Inherits: | Object | 
Overview
To implement this observer, create a Ruby class of this type, override the desired methods, and add an instance of the observer to the ShadowInfo object.
This observer interface is implemented to react to changes to the shadow settings.
Instance Method Summary
- 
    
      #onShadowInfoChanged(shadow_info, type)  ⇒ nil 
    
    The #onShadowInfoChanged method is invoked whenever the user alters a setting inside the Shadows and ModelInfo dialogs.
Instance Method Details
    #onShadowInfoChanged(shadow_info, type)  ⇒ nil 
  
The #onShadowInfoChanged method is invoked whenever the user alters a setting inside the Shadows and Model Info dialogs. The type parameter contains a number identifying which option was altered. Here are the types to expect:
- 
0 = Time/Date sliders 
- 
1 = Display Shadows checkbox 
- 
2 = Light/Dark sliders 
- 
3 = Geographic Location (in ModelInfo > Location)
- 
4 = Solar Orientation (in ModelInfo > Location)
- 
7 = Use Sun for Shading checkbox 
- 
8 = Display from Edges checkbox 
- 
9 = Display on Ground checkbox 
- 
10 = Display on Faces checkbox