Vue 3d loaderVue 3d loader
Guide
  • English
  • 简体中文
GitHub
Guide
  • English
  • 简体中文
GitHub
  • Guide

    • Introduce
    • Get started
    • Event
    • API
    • Donation
  • Example

    • Load a 3D model
    • Loading multiple models in the same scene
    • Load json 3D model
    • Loader draco model
    • Set width and height
    • Material and texture
    • Background color and transparency
    • Interactive control
    • Rotate 3D model
    • Events
    • Lights
    • Camera position and rotation
    • Load multiple models in parallel
    • Add label
    • Play/stop animation
    • Enable damping
    • Loading progress
    • Set camera vertical/horizontal rotation
    • Enable axes helper and grid helper
    • Set min or max distance
    • Point light follow camera
    • Clone same model

Event

mousedown

mouse down event
mousedown(mouseEvent, intersects)
mouseEvent: mouse event
intersect: intersect: currently intersecting objects

mousemove

mouse move event
mousemove(mouseEvent, intersects)
mouseEvent:mouse event
intersect: intersect: currently intersecting objects

mouseup

mouse up event
mouseup(mouseEvent, intersects) mouseEvent:mouse event
intersect: intersect: currently intersecting objects

click

click event
click(mouseEvent, intersects)
mouseEvent:mouse event
intersect: intersect: currently intersecting objects

load

load model event

process

loading progress
process(event, fileIndex)
event: progress
fileIndex: the index of the currently loaded model

error

error
error(event)
event: error

Edit this page on Github
Last Updated: 10/30/22, 9:09 PM
Contributors: Tony Tao
Prev
Get started
Next
API