Skip to content

Class: StoryboardVectorScaleCommand ​

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

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

const command = new StoryboardVectorScaleCommand(Easing.None, 0, 500, { x: 1, y: 1 })

return command.commandType

Extends ​

  • StoryboardCommand<Vec2>

Constructors ​

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

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

Parameters ​

ParameterType
easingEasing
startTimenumber
endTimenumber | undefined
endValueVec2
startValue?Vec2

Returns ​

StoryboardVectorScaleCommand

Inherited from ​

StoryboardCommand<Vec2>.constructor

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

const command = new StoryboardVectorScaleCommand(Easing.None, 0, 500, { x: 1, y: 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: Vec2

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

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

Inherited from ​

StoryboardCommand.startValue

Accessors ​

commandType ​

get commandType(): CommandType

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

Returns ​

CommandType

Overrides ​

StoryboardCommand.commandType

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

const command = new StoryboardVectorScaleCommand(Easing.None, 0, 500, { x: 1, y: 1 })

return command.commandType

Released under the MIT License.