Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/threejs_4_deno/src/Three.js>Mesh

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

Constructors

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

Type Parameters

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

Properties

geometry: TGeometry
readonly
isMesh: true
material: TMaterial
optional
morphTargetDictionary: { [key: string]: number; }
optional
morphTargetInfluences: number[]
type: string

Methods

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