Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/core/Object3D.d.ts>Object3D#getObjectByName

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method Object3D.prototype.getObjectByName
import { Object3D } from "https://deno.land/x/threejs_4_deno@v121/src/core/Object3D.d.ts";

Searches through the object's children and returns the first with a matching name.

Parameters

name: string

String to match to the children's Object3d.name property.

Returns

Object3D | undefined