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

x/remapper/src/environment.ts>EnvironmentInternals.BaseEnvironment

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

Properties

active: boolean

Whether this object is enabled.

readonly
animationProperties

All the animateable properties of this object.

components: Components

All of the components on this object.

duplicate: number

How many times to duplicate this object.

group: string

Group used with "animateEnvGroup". Not saved to the difficulty.

json: Json

The Json data on this object.

lightID: number

Sets the "lightID" value on the "ILightWithID" component.

lightType: number

Sets the "type" value on the "ILightWithID" component.

localPosition: Vec3

The position of this object relative to it's parent.

localRotation: Vec3

The rotation of this object relative to it's parent.

position: Vec3

The worldspace position of this object.

rotation: Vec3

The worldspace rotation of this object.

scale: Vec3

The scale of this object.

readonly
track

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

Methods

import(json: Json)

Create an environment/geometry object using Json.

push(clone?)

Push this environment/geometry object to the difficulty.