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

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

Constructors

new
InstancedMesh(
geometry: TGeometry | undefined,
material: TMaterial | undefined,
count: number,
)

Type Parameters

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

Properties

count: number
instanceColor: null | InstancedBufferAttribute
instanceMatrix: InstancedBufferAttribute
readonly
isInstancedMesh: true

Methods

dispose(): void
getColorAt(index: number, color: Color): void
getMatrixAt(index: number, matrix: Matrix4): void
setColorAt(index: number, color: Color): void
setMatrixAt(index: number, matrix: Matrix4): void