Skip to content

Class: StoryboardXCommand ​

Defined in: src/beatmap/storyboard/commands.ts:25

ts
import { Easing, StoryboardXCommand } from 'osu-files'

const command = new StoryboardXCommand(Easing.None, 0, 500, 1)

return command.commandType

Extends ​

  • StoryboardCommand<number>

Constructors ​

new StoryboardXCommand(easing, startTime, endTime, endValue, startValue?): StoryboardXCommand

Defined in: src/beatmap/storyboard/commands.ts:11

Parameters ​

ParameterType
easingEasing
startTimenumber
endTimenumber | undefined
endValuenumber
startValue?number

Returns ​

StoryboardXCommand

Inherited from ​

StoryboardCommand<number>.constructor

ts
import { Easing, StoryboardXCommand } from 'osu-files'

const command = new StoryboardXCommand(Easing.None, 0, 500, 1)

return command.commandType

Properties ​

easing ​

easing: Easing

Defined in: src/beatmap/storyboard/commands.ts:5

Inherited from ​

StoryboardCommand.easing


endTime? ​

optional endTime?: number

Defined in: src/beatmap/storyboard/commands.ts:7

Inherited from ​

StoryboardCommand.endTime


endValue ​

endValue: number

Defined in: src/beatmap/storyboard/commands.ts:9

Inherited from ​

StoryboardCommand.endValue


startTime ​

startTime: number

Defined in: src/beatmap/storyboard/commands.ts:6

Inherited from ​

StoryboardCommand.startTime


startValue? ​

optional startValue?: number

Defined in: src/beatmap/storyboard/commands.ts:8

Inherited from ​

StoryboardCommand.startValue

Accessors ​

commandType ​

get commandType(): CommandType

Defined in: src/beatmap/storyboard/commands.ts:26

Returns ​

CommandType

Overrides ​

StoryboardCommand.commandType

ts
import { Easing, StoryboardXCommand } from 'osu-files'

const command = new StoryboardXCommand(Easing.None, 0, 500, 1)

return command.commandType

Released under the MIT License.