Class: StoryboardColourCommand
Defined in: src/beatmap/storyboard/commands.ts:40
import { Easing, StoryboardColourCommand } from 'osu-files'
const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })
return command.commandTypeExtends
StoryboardCommand<Colour4>
Constructors
new StoryboardColourCommand(
easing,startTime,endTime,endValue,startValue?):StoryboardColourCommand
Defined in: src/beatmap/storyboard/commands.ts:11
Parameters
| Parameter | Type |
|---|---|
easing | Easing |
startTime | number |
endTime | number | undefined |
endValue | Colour4 |
startValue? | Colour4 |
Returns
StoryboardColourCommand
Inherited from
StoryboardCommand<Colour4>.constructor
import { Easing, StoryboardColourCommand } from 'osu-files'
const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })
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:
Colour4
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?:Colour4
Defined in: src/beatmap/storyboard/commands.ts:8
Inherited from
StoryboardCommand.startValue
Accessors
commandType
get commandType():
CommandType
Defined in: src/beatmap/storyboard/commands.ts:41
Returns
Overrides
StoryboardCommand.commandType
import { Easing, StoryboardColourCommand } from 'osu-files'
const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })
return command.commandType