Skip to content

RenderPathBoolean

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

Overview

RenderPathBoolean will display one RenderProgram "inside" the path, and another RenderProgram "outside" the path.

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

Class RenderPathBoolean

import { RenderPathBoolean } from 'scenerystack/alpenglow';

Constructor

new RenderPathBoolean( path : RenderPath, inside : RenderProgram, outside : RenderProgram )

Instance Methods

getName() : string

withChildren( children : RenderProgram[] ) : RenderPathBoolean

transformed( transform : Matrix3 ) : RenderProgram

equalsTyped( other : this ) : boolean

(protected)

isOneSided() : boolean

getOneSide() : RenderProgram

withOneSide( program : RenderProgram ) : RenderProgram

getSimplified( children : RenderProgram[] ) : RenderProgram | null

(protected)

evaluate( context : RenderEvaluationContext ) : Vector4

getExtraDebugString() : string

(protected)

serialize() : SerializedRenderPathBoolean

Static Methods

fromInside( path : RenderPath, inside : RenderProgram ) : RenderPathBoolean

Type SerializedRenderPathBoolean

import type { SerializedRenderPathBoolean } from 'scenerystack/alpenglow';

Source Code

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