Skip to content

RenderTrail

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/render-program/RenderTrail.ts for the most up-to-date information.

Overview

Represents an ancestor-to-descendant walk through a RenderProgram tree.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RenderTrail

import { RenderTrail } from 'scenerystack/alpenglow';

Constructor

new RenderTrail( program : RenderProgram, indices : number[] )

Instance Methods

equals( other : RenderTrail ) : boolean

compare( other : RenderTrail ) : number

Static Methods

closureCompare( a : RenderTrail, b : RenderTrail ) : number

Source Code

See the source for RenderTrail.ts in the alpenglow repository.