Skip to content

ShadedSphereNode

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

Overview

A 3D-looking sphere with a specular highlight.

@author Chris Malley (PixelZoom, Inc.)

Class ShadedSphereNode

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

Constructor

new ShadedSphereNode( diameter : number, providedOptions? : ShadedSphereNodeOptions )

Instance Methods

invalidatePath()

(protected)

Type ShadedSphereNodeOptions

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

Source Code

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