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

x/remapper/src/mod.ts>iterateKeyframes

A framework for Beat Saber map scripting.
Go to Latest
function iterateKeyframes
Re-export
import { iterateKeyframes } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Safely iterate through an array of keyframes.

Parameters

keyframes: KeyframesLinear

Keyframes to iterate.

fn: (values: ComplexKeyframesLinear[0], index: number) => void

Function to run on each keyframe.

Parameters

keyframes: KeyframesVec3
fn: (values: ComplexKeyframesVec3[0], index: number) => void

Parameters

keyframes: KeyframesVec4
fn: (values: ComplexKeyframesVec4[0], index: number) => void