Class: ModraUp::RenderingOptionsObserver
- Inherits:
-
Object
- Object
- ModraUp::RenderingOptionsObserver
Overview
Base class for drawing option observers. Register using ModraUp::RenderingOptions#add_observer.
Instance Method Summary # collapse
-
#onRenderingOptionsChanged(rendering_options, type) ⇒ nil
Called when a rendering option's value changes (does not dispatch if the value remains the same).
Instance Method Details
observer.onRenderingOptionsChanged(rendering_options, type) ⇒ nil
Called when a rendering option's value changes (does not dispatch if the value remains the same). type is one of the ModraUp::RenderingOptions::ROP… constants, with the same numerical value as in SketchUp (e.g., ROPSetModelTransparency is 42). Changes in the Styles panel do not dispatch.