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

x/remapper/src/deps.ts>three.Path

A framework for Beat Saber map scripting.
Go to Latest
class three.Path
extends CurvePath<Vector2>
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Path } = three;

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

Constructors

new
Path(points?: Vector2[])

Properties

currentPoint: Vector2
type: string

Methods

absarc(
aX: number,
aY: number,
aRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
): this
absellipse(
aX: number,
aY: number,
xRadius: number,
yRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
aRotation: number,
): this
arc(
aX: number,
aY: number,
aRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
): this
bezierCurveTo(
aCP1x: number,
aCP1y: number,
aCP2x: number,
aCP2y: number,
aX: number,
aY: number,
): this
ellipse(
aX: number,
aY: number,
xRadius: number,
yRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
aRotation: number,
): this
deprecated
fromPoints(vectors: Vector2[]): this
lineTo(x: number, y: number): this
moveTo(x: number, y: number): this
quadraticCurveTo(
aCPx: number,
aCPy: number,
aX: number,
aY: number,
): this
setFromPoints(vectors: Vector2[]): this
splineThru(pts: Vector2[]): this