Open Asterune
NumberSequence

NumberSequence

Defines a number over normalized time using numeric keypoints.

Behavior

NumberSequence defines a number over normalized time using numeric keypoints.

Summary

Constructors1
Functions1
  • NumberSequence.new(…)

    Creates a sequence from a constant value or an ordered array of keypoints.

Members2
Properties1
Methods1
  • Evaluate(time: number): number

    Returns the interpolated value at the supplied normalized time.

Constructors

new

NumberSequence.new(…)

Creates a sequence from a constant value or an ordered array of keypoints.

Properties

Keypoints

NumberSequence.Keypoints: table

The ordered keypoints defining the sequence.

Methods

Evaluate

NumberSequence:Evaluate(time: number): number

Returns the interpolated value at the supplied normalized time.

Operators

__eq · __tostring · __type

Used by

Beam · ParticleEmitter · Trail