Hit objects
Slider
Propeties
x
: numbery
: numberstartPoint
: Vector2endPoint
: Vector2startTime
: numberendTime
: numberduration
: numberhitsound
: HitsoundhitSample
:IHitSample
interface IHitSample {
normalSet: SampleSet
additionSet: SampleSet
index: number | undefined
volume: number | undefined
filename: string | undefined
}
params
:ISliderParams
interface ISliderParams {
curveType: CurveType | string
curvePoints: Vector2[]
slides: number
length: number
edgeSounds: Hitsound[]
edgeSets: IHitSample[]
}
Methods
positionAtTime(time: number)
: Vector2
Returns slider ball position at a specific timestamp.
Circle
Properties
x
: numbery
: numberstartTime
: numberhitsound
: HitsoundhitSample
:IHitSample
interface IHitSample {
normalSet: SampleSet
additionSet: SampleSet
index: number | undefined
volume: number | undefined
filename: string | undefined
}
position
: Vector2
Spinner
Properties
x
: number = 256y
: number = 192startTime
: numberendTime
: numberhitsound
: HitsoundhitSample
:IHitSample
interface IHitSample {
normalSet: SampleSet
additionSet: SampleSet
index: number | undefined
volume: number | undefined
filename: string | undefined
}