LightBulbNode¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/LightBulbNode.ts for the most up-to-date information.
Overview¶
Light bulb, made to 'glow' by modulating opacity of the 'on' image.
@author Chris Malley (PixelZoom, Inc.)
Class LightBulbNode¶
Constructor¶
new LightBulbNode( brightnessProperty : TReadOnlyProperty<number>, providedOptions? : LightBulbNodeOptions )¶
Instance Methods¶
dispose()¶
Type LightBulbNodeOptions¶
- bulbImageScale?: number
- lightRaysNodeOptions?: LightRaysNodeOptions
- lightBulbOnImage?: ImageableImage
- lightBulbOffImage?: ImageableImage
- & StrictOmit<NodeOptions, "children">
Source Code¶
See the source for LightBulbNode.ts in the scenery-phet repository.