Defines the TrackTypes for a given section.

See isInSection for more info about the start and end positions

Hierarchy

Constructors

Properties

endPosition: number
startPosition: number
trackTypes: TrackTypeKeyframe[]

Methods

  • Returns true if the given position is in this section determined by the following ranges:

    If direction is true: - If start < end - range is [start, end)

    • If start > end
      • range is [start, inf) (-inf, end)

    If direction is false:

    • If start < end
      • range is (start, end]
    • If start > end
      • range is (start, inf) (-inf, end]

    Returns

    Parameters

    • position: number
    • direction: boolean

    Returns boolean

Generated using TypeDoc