UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

13 lines (12 loc) 300 B
import Model from "../display/Model" const model = new Model() model.src = "123.fbx" model.onLoad = () => { const found = model.find("Hose001") if (found) { let anim = found.animation = true found.onClick = () => { found.animation = anim = !anim } } }