Options
All
  • Public
  • Public/Protected
  • All
Menu

A manager for sample control points.

Hierarchy

Index

Constructors

Properties

defaultControlPoint: <internal>.SampleControlPoint

The default control point for this type.

Accessors

  • get points(): readonly T[]
  • The control points in this manager.

    Returns readonly T[]

Methods

  • Adds a new control point.

    Note that the provided control point may not be added if the correct state is already present at the control point's time.

    Additionally, any control point that exists in the same time will be removed.

    Parameters

    Returns boolean

    Whether the control point was added.

  • Removes a control point.

    This method will remove the earliest control point in the array that is equal to the given control point.

    Parameters

    Returns boolean

    Whether the control point was removed.

Generated using TypeDoc