如视 Five SDK
    Preparing search index...

    Class GLTFObject

    GLTF 对象

    Hierarchy

    • Group
      • GLTFObject
    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • OptionalrootObject: Object3D

      Returns GLTFObject

    Properties

    mixer: AnimationMixer

    mixer 为对应当前对象的动画混合器

    通过 gltf.animations 可以获取动画帧。 通过 gltf.scene.mixer.clipAction(gltf.animations[0]).play() 即可播放动画。

    needsRender: boolean

    Methods

    • Returns GLTFObject