Skip to content

SkyNode

Overview

Node that can be used to represent the sky.

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

Class SkyNode

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

Constructor

new SkyNode( x : number, y : number, width : number, height : number, gradientEndHeight : number, providedOptions? : SkyNodeOptions )

Instance Methods

Type SkyNodeOptions

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

Source Code

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