Skip to content

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

import { LightBulbNode } from 'scenerystack/scenery-phet';

Constructor

new LightBulbNode( brightnessProperty : TReadOnlyProperty<number>, providedOptions? : LightBulbNodeOptions )

Instance Methods

dispose()

Type LightBulbNodeOptions

import type { LightBulbNodeOptions } from 'scenerystack/scenery-phet';

Source Code

See the source for LightBulbNode.ts in the scenery-phet repository.