Skip to content

OutsideBackgroundNode

Overview

This node is intended for use as a background on a screen, and shows the ground on the bottom and the sky on the top. <p/> The default size is chosen such that it works well with the default layout size for a PhET HTML5 simulation.

@author John Blanco @author Sam Reid (PhET Interactive Simulations)

Class OutsideBackgroundNode

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

Constructor

new OutsideBackgroundNode( centerX : number, centerY : number, width : number, skyHeight : number, groundDepth : number )

Instance Methods

Source Code

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