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