API

Class KHR_animation_pointer

Specification PR !!! Experimental Extension Subject to Changes !!!

Implements

Index
name: "KHR_animation_pointer" = NAME

The name of this extension.

  • Loads a glTF animation channel.

    Parameters

    • context: string

      The context when loading the asset

    • animationContext: string

      The context of the animation when loading the asset

    • animation: IAnimation

      The glTF animation property

    • channel: IAnimationChannel

      The glTF animation channel property

    • onLoad: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void

      Called for each animation loaded

    Returns Nullable<Promise<void>>

    A void promise that resolves when the load is complete or null if not handled