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

x/threejs_4_deno/src/Three.js>MeshDistanceMaterial

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

Constructors

new
MeshDistanceMaterial(parameters?: MeshDistanceMaterialParameters)

Properties

alphaMap: Texture | null
displacementBias: number
displacementMap: Texture | null
displacementScale: number
farDistance: number
fog: boolean
map: Texture | null
morphTargets: boolean
nearDistance: number
referencePosition: Vector3
skinning: boolean
type: string