Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/custom_event.ts>CustomEventInternals.AnimateTrack

A framework for Beat Saber map scripting.
Go to Latest
class CustomEventInternals.AnimateTrack
extends BaseEvent
import { CustomEventInternals } from "https://deno.land/x/remapper@3.0.0/src/custom_event.ts";
const { AnimateTrack } = CustomEventInternals;

Constructors

new
AnimateTrack(
json: Json,
track?: TrackValue,
duration?: number,
animation?: Json,
easing?: EASE,
)

Animate a track.

Properties

animate: AnimationInternals.AbstractAnimation

The animation of this event.

duration: number

The duration of the animation.

easing: EASE

The easing on this event's animation.

repeat: number

The amount of times to repeat this event.

readonly
track

The track class for this event. Please read the properties of this class to see how it works.

Methods

Remove the subclass of the event, giving access to all properties, but can allow for invalid data.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.

Set the properties for animation.