threepipe
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

GLTFAnimationPlugin.md 1.3KB

1234567891011121314151617181920212223242526272829
  1. ---
  2. prev:
  3. text: 'ContactShadowGroundPlugin'
  4. link: './ContactShadowGroundPlugin'
  5. next:
  6. text: 'PopmotionPlugin'
  7. link: './PopmotionPlugin'
  8. ---
  9. # GLTFAnimationPlugin
  10. [//]: # (todo: image)
  11. [Example](https://threepipe.org/examples/#gltf-animation-plugin/) —
  12. [Source Code](https://github.com/repalash/threepipe/blob/master/src/plugins/animation/GLTFAnimationPlugin.ts) —
  13. [API Reference](https://threepipe.org/docs/classes/GLTFAnimationPlugin.html)
  14. Manages playback of GLTF animations.
  15. The GLTF animations can be created in any 3d software that supports GLTF export like Blender.
  16. If animations from multiple files are loaded, they will be merged in a single root object and played together.
  17. The time playback is managed automatically, but can be controlled manually by setting {@link autoIncrementTime} to false and using {@link setTime} to set the time.
  18. This plugin is made for playing, pausing, stopping, all the animations at once, while it is possible to play individual animations, it is not recommended.
  19. To play individual animations, with custom choreography, use the {@link GLTFAnimationPlugin.animations} property to get reference to the animation clips and actions. Create your own mixers and control the animation playback like in three.js