UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

11 lines (10 loc) 227 B
"use strict"; import { ObjectNamedFunction0 } from "./_Base"; export class getParent extends ObjectNamedFunction0 { static type() { return "getParent"; } func(object3D) { return object3D.parent || object3D; } }