Options
All
  • Public
  • Public/Protected
  • All
Menu

Singly linked list container for keeping track of interpolated properties for particles. Each Particle will have one of these for each interpolated property.

Type parameters

  • V

Hierarchy

  • PropertyList

Index

Constructors

Properties

Methods

Constructors

Properties

A custom easing method for this list.

param lerp

The interpolation value from 0-1.

returns

The eased value, also from 0-1.

first: PropertyNode<V>

The first property node in the linked list.

interpolate: (lerp: number) => number

Type declaration

    • (lerp: number): number
    • Calculates the correct value for the current interpolation value. This method is set in the reset() method.

      Parameters

      • lerp: number

        The interpolation value from 0-1.

      Returns number

      The interpolated value. Colors are converted to the hex value.

isColor: boolean

If this list manages colors, which requires a different method for interpolation.

Methods

Generated using TypeDoc