Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.d.ts>CurvePath

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class CurvePath
extends Curve<T>
Re-export
import { CurvePath } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";

Constructors

new
CurvePath()

Properties

autoClose: boolean
curves: Curve<T>[]
type: string

Methods

add(curve: Curve<T>): void
closePath(): void
deprecated
createGeometry(points: T[]): Geometry
deprecated
createPointsGeometry(divisions: number): Geometry
deprecated
createSpacedPointsGeometry(divisions: number): Geometry
getCurveLengths(): number[]
getPoint(t: number): T