Interface IHoldableObject

A hit object.

interface IHoldableObject {
    duration: number;
    endTime: number;
    hitSound: HitSound;
    hitType: HitType;
    hitWindows: HitWindows;
    nodeSamples: HitSample[][];
    samples: HitSample[];
    startTime: number;
    clone(): IHitObject;
}

Hierarchy (view full)

Properties

duration: number

The duration of the hit object.

endTime: number

The time at which the hit object ends.

hitSound: HitSound

Hit sound data of this hit object.

hitType: HitType

Hit type data of this hit object.

hitWindows: HitWindows

Hit windows of this hit object.

nodeSamples: HitSample[][]

The samples to be played when each node of the IHasPath is hit. 0: The first node. 1: The first repeat. 2: The second repeat. ... n-1: The last repeat. n: The last node.

samples: HitSample[]

Samples of this hit object.

startTime: number

The time at which hit object starts.

Methods