Class: StoryboardXCommand
Defined in: src/beatmap/storyboard/commands.ts:25
import { Easing, StoryboardXCommand } from 'osu-files'
const command = new StoryboardXCommand(Easing.None, 0, 500, 1)
return command.commandTypeExtends
StoryboardCommand<number>
Constructors
new StoryboardXCommand(
easing,startTime,endTime,endValue,startValue?):StoryboardXCommand
Defined in: src/beatmap/storyboard/commands.ts:11
Parameters
| Parameter | Type |
|---|---|
easing | Easing |
startTime | number |
endTime | number | undefined |
endValue | number |
startValue? | number |
Returns
StoryboardXCommand
Inherited from
StoryboardCommand<number>.constructor
import { Easing, StoryboardXCommand } from 'osu-files'
const command = new StoryboardXCommand(Easing.None, 0, 500, 1)
return command.commandTypeProperties
easing
easing:
Easing
Defined in: src/beatmap/storyboard/commands.ts:5
Inherited from
StoryboardCommand.easing
endTime?
optionalendTime?: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?
optionalstartValue?: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
Overrides
StoryboardCommand.commandType
import { Easing, StoryboardXCommand } from 'osu-files'
const command = new StoryboardXCommand(Easing.None, 0, 500, 1)
return command.commandType