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.AbstractEvent

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

Constructors

new
AbstractEvent(json: Json)

A custom event that has an unknown type.

Properties

animate: AnimationInternals.AbstractAnimation

The animation of this event.

childrenTracks: string[]

Children tracks to assign. AssignTrackParent only.

duration: number

The duration of the animation. Or in the case of AssignPathAnimation, the time to transition from a previous path to this one.

easing: EASE

The easing on this event's animation. Or in the case of AssignPathAnimation, the easing for the transition from a previous path to this one.

The "BloomFogEnvironment" component to animate. AnimateComponent only.

The "ILightWithId" component to animate. AnimateComponent only.

The "TubeBloomPrePassLight" component to animate. AnimateComponent only.

parentTrack: string

Name of the parent track. AssignTrackParent only.

readonly
track

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

worldPositionStays: boolean

Modifies the transform of children objects to remain in the same place relative to world space. AssignTrackParent only.

Methods

Add properties to the data.

importAnimation(animation: AnimationInternals.BaseAnimation)

Apply an animation through the Animation class.