Skip to content

Class: StoryboardColourCommand ​

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

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

const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })

return command.commandType

Extends ​

  • StoryboardCommand<Colour4>

Constructors ​

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

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

Parameters ​

ParameterType
easingEasing
startTimenumber
endTimenumber | undefined
endValueColour4
startValue?Colour4

Returns ​

StoryboardColourCommand

Inherited from ​

StoryboardCommand<Colour4>.constructor

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

const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })

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: 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? ​

optional startValue?: 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 ​

CommandType

Overrides ​

StoryboardCommand.commandType

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

const command = new StoryboardColourCommand(Easing.None, 0, 500, { r: 255, g: 255, b: 255 })

return command.commandType

Released under the MIT License.