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.Points

A framework for Beat Saber map scripting.
Go to Latest
class three.Points
extends Object3D
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Points } = three;

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

Constructors

new
Points(geometry?: TGeometry, material?: TMaterial)

Type Parameters

optional
TGeometry extends BufferGeometry = BufferGeometry
optional
TMaterial extends Material | Material[] = Material | Material[]

Properties

geometry: TGeometry

An instance of BufferGeometry, where each vertex designates the position of a particle in the system.

readonly
isPoints: true
material: TMaterial

An instance of Material, defining the object's appearance. Default is a PointsMaterial with randomised colour.

optional
morphTargetDictionary: { [key: string]: number; } | undefined
optional
morphTargetInfluences: number[] | undefined
type: "Points"

Methods

raycast(raycaster: Raycaster, intersects: Intersection[]): void