Bitbybit Docs
    Preparing search index...

    Class PlayAnimationGroupDto (Inputs.BabylonGltf)

    Feeds babylon.gltf.playAnimationGroup with the animation to start, whether it repeats and how fast it plays.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalanimationGroup: AnimationGroup
      • Optionalloop: boolean
      • OptionalspeedRatio: number

      Returns PlayAnimationGroupDto

    Properties

    animationGroup: AnimationGroup

    The animation from a loaded asset, as getAnimationGroups lists them

    undefined
    
    loop: boolean

    When true, the animation starts over each time it reaches its end

    true
    
    speedRatio: number

    Playback speed where 1 is normal, 2 twice as fast and 0.5 half speed

    1
    

    0.1