Skip to content

GroundNode

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

Overview

Node that can be used to represent the ground.

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

Class GroundNode

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

Constructor

new GroundNode( x : number, y : number, width : number, height : number, gradientEndDepth : number, providedOptions? : GroundNodeOptions )

Instance Methods

Type GroundNodeOptions

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

Source Code

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