Skip to content

RenderLinearBlendLogic

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

Overview

Logic for a linear blend

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

Class RenderLinearBlendLogic

import { RenderLinearBlendLogic } from 'scenerystack/alpenglow';

Constructor

new RenderLinearBlendLogic( scaledNormal : Vector2, offset : number, accuracy : RenderLinearBlendAccuracy )

Instance Methods

equals( other : RenderLinearBlendLogic ) : boolean

computeLinearValue( context : RenderEvaluationContext ) : number

isLinear() : boolean

Source Code

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