Class KHR_animation_pointer
Implements
Index
Methods
_ load Animation Channel Async
-
_loadAnimationChannelAsync(
context: string,
animationContext: string,
animation: IAnimation,
channel: IAnimationChannel,
onLoad: (
babylonAnimatable: IAnimatable,
babylonAnimation: Animation,
) => void,
): Nullable<Promise<void>>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
- context: string
Specification PR !!! Experimental Extension Subject to Changes !!!