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

x/remapper/src/deps.ts

A framework for Beat Saber map scripting.
Go to Latest
import * as remapper from "https://deno.land/x/remapper@3.0.0/src/deps.ts";

Classes

This light's color gets applied to all the objects in the scene globally.

This is a superefficent class for geometries because it saves all data in buffers. It reduces memory costs and cpu cycles. But it is not as easy to work with because of all the necessary buffer calculations. It is mainly interesting when working with static objects.

Abstract base class for cameras. This class should always be inherited when you build a new camera.

Object for keeping track of time.

Represents a color. See also ColorUtils.

An extensible curve object which contains methods for interpolation class Curve

JavaScript events for custom objects

This class contains the parameters that define linear fog, i.e., that grows linearly denser with the distance.

This class contains the parameters that define linear fog, i.e., that grows exponentially denser with the distance.

Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process.

A loader for loading an image. Unlike other loaders, this one emits events instead of using predefined callbacks. So if you're interested in getting notified when things happen, you need to add listeners to the object.

Abstract base class for lights.

Base class for implementing loaders.

Handles and keeps track of loaded and pending data.

Materials describe the appearance of objects. They are defined in a (mostly) renderer-independent way, so you don't have to rewrite materials if you decide to use a different renderer.

( class Matrix3 implements Matrix )

A 4x4 Matrix.

Base class for scene graph objects

Camera with orthographic projection

a 2d path representation, comprising of points, lines, and cubes, similar to the html5 2d canvas api. It extends CurvePath.

Camera with perspective projection.

A class for displaying points. The points are rendered by the WebGLRenderer using gl.POINTS.

Implementation of a quaternion. This is used for rotating things without incurring in the dreaded gimbal lock issue, amongst other advantages.

Scenes allow you to set up what and where is to be rendered by three.js. This is where you place objects, lights and cameras.

Defines a 2d shape plane using paths.

Represents the data source of a texture.

A point light that can cast shadow in one direction.

Class for loading a texture. Unlike other loaders, this one emits events instead of using predefined callbacks. So if you're interested in getting notified when things happen, you need to add listeners to the object.

2D vector.

3D vector. ( class Vector3 implements Vector )

4D vector.

Represents a three-dimensional render target.

This type of render target represents an array of textures.

An object with a series of statistical information about the graphics board memory and the rendering process.

This class originall extended WebGLMultipleRenderTarget However, there are some issues with this method as documented below

The WebGL renderer displays your beautifully crafted scenes using WebGL, if your device supports it. This renderer has way better performance than CanvasRenderer.

Variables

v
three.LinePieces
deprecated
v
three.LineStrip
deprecated

Functions

Create WalkEntry for the path asynchronously

Create WalkEntry for the path synchronously

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Detect the EOL character for string input. returns null if no newline

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Ensures that the file exists. If the file that is requested to be created is in directories that do not exist. these directories are created. If the file already exists, it is NOTMODIFIED. Requires the --allow-read and --allow-write flag.

Ensures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is NOT MODIFIED. Requires the --allow-read and --allow-write flag.

Ensures that the hard link exists. If the directory structure does not exist, it is created.

Ensures that the hard link exists. If the directory structure does not exist, it is created.

Ensures that the link exists. If the directory structure does not exist, it is created.

Ensures that the link exists. If the directory structure does not exist, it is created.

Test whether or not the given path exists by checking with the file system

Test whether or not the given path exists by checking with the file system

Expand the glob string from the specified root directory and yield each result as a WalkEntry object.

Synchronous version of expandGlob().

Format the file to the targeted EOL

Moves a file or directory

Moves a file or directory synchronously

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient.

Same as walk() but uses synchronous ops

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Convert a glob string to a regular expression.

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Clamps the x to be between a and b.

Smoothly interpolate a number from x toward y in a spring-like manner using the dt to maintain frame rate independent movement.

Returns a value linearly interpolated from two known points based on the given interval - t = 0 will return x and t = 1 will return y.

Linear mapping of x from range [a1, a2] to range [b1, b2].

Returns a value that alternates between 0 and length.

Random float from low to high interval.

Random float from - range / 2 to range / 2 interval.

Random integer from low to high interval.

Random float from 0 to 1 with 16 bits of randomness. Standard Math.random() creates repetitive patterns when applied over larger space.

Deterministic pseudo-random float in the interval [ 0, 1 ].

Interfaces

A parsed path object generated by path.parse() or consumed by path.format().

Event object.

( interface Matrix )

parameters is an object with one or more properties defining the material's appearance.

This is only available in worker JS contexts, not the DOM.

( interface Vector )