Skip to content

TimeSpeed

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/TimeSpeed.ts for the most up-to-date information.

Overview

TimeSpeed is an enumeration of time speeds. These are supported by TimeControlNode, when it includes speed controls.

@author Jesse Greenberg (PhET Interactive Simulations) @author Chris Malley (PixelZoom, Inc.)

Class TimeSpeed

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

Static Properties

FAST : TimeSpeed

(readonly)

NORMAL : TimeSpeed

(readonly)

SLOW : TimeSpeed

(readonly)

enumeration : Enumeration

(readonly)

Gets a list of keys, values and mapping between them. For use in EnumerationProperty and PhET-iO

Source Code

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