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

x/remapper/src/general.ts>adjustFog

A framework for Beat Saber map scripting.
Latest
function adjustFog
import { adjustFog } from "https://deno.land/x/remapper@3.1.2/src/general.ts";

Edits the base Environment object's fog component. Or spawns an event to animate the fog.

Parameters

fog: (bfe: AnyFog) => void

The fog component.

optional
time: number

The time of the event.

optional
duration: number

The duration of the animation.

optional
event: (event: CustomEventInternals.AnimateComponent) => void

The animation event.