InterpolantEnding

The ending mode of a CubicInterpolant at a curve boundary.

These match the ZeroCurvatureEnding / ZeroSlopeEnding / WrapAroundEnding integer constants from three.js src/constants.js (2400 / 2401 / 2402). Only the identity matters here, not the numeric value, so they are modeled as enum members rather than magic ints.

Entries

Link copied to clipboard

f''(t) = 0, a.k.a. Natural Spline. The three.js default (ZeroCurvatureEnding).

Link copied to clipboard

f'(t) = 0 (ZeroSlopeEnding).

Link copied to clipboard

Use the other end of the curve (WrapAroundEnding).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.