We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please expose the .animations[] array like drie/src/Loaders/GLTFLoader.vue 162 emit("load" , gltf.scene);
or emit another event ("loadAnimations") ?
The text was updated successfully, but these errors were encountered:
I have added a second argument to the load event in @janvorisek/drie@1.0.0-alpha-1.46
@janvorisek/drie@1.0.0-alpha-1.46
Example:
<GLTFLoader url="https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Lantern/glTF-Binary/Lantern.glb" :position="[2, -4, 0]" :scale="[0.1, 0.1, 0.1]" :rotation="[Math.PI / 2, Math.PI, 0]" @load="loaded" />
// m is THREE.Group, a is AnimationClip[] const loaded = ( m, a) => { console.log({ m, a }); };
Please close the issue if resolved.
Sorry, something went wrong.
janvorisek
No branches or pull requests
Please expose the .animations[] array like
drie/src/Loaders/GLTFLoader.vue
162 emit("load"
, gltf.scene);or emit another event ("loadAnimations") ?
The text was updated successfully, but these errors were encountered: