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

x/remapper/src/mod.ts>EventInternals.RingSpinEvent

A framework for Beat Saber map scripting.
Go to Latest
class EventInternals.RingSpinEvent
import { EventInternals } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";
const { RingSpinEvent } = EventInternals;

Constructors

new
RingSpinEvent(
json: Json,
rotation?: number,
direction?: number,
step?: number,
speed?: number,
prop?: number,
nameFilter?: string,
)

Controls spinning the rings.

Properties

direction: number

Direction of the spin. 1 is clockwise, 0 is counterclockwise.

nameFilter: string

The ring object name to target.

prop: number

The rate at which physics propogate through the rings. High values will cause rings to move simultneously, low values gives them significant delay.

rotation: number

Degrees of the spin.

speed: number

The speed multiplier of the spin.

step: number

The angle between each ring.

Methods

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