LightBulbNode¶
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.