GLTFPointerAnimationsManager constructor.
Current GLTFScenesManager instance to add the pointer animations to.
Specific map of the mesh descriptor pointer materials animations.
Reset the materialAnimations map.
Add an Object3D as a TargetsAnimationsManager target.
Object3D to add.
TargetsAnimationsManager to add to.
Get the animation type and animated property from a given pointer animation channel.
Array of strings parsed from the pointer channel extension path.
Animated property.
Get any camera animations value type and key (property) to use for the KeyframesAnimation.
Animated property from the pointer channel extension path.
Animation value type.
Camera key (property) to animate.
Get any light animations value type and key (property) to use for the KeyframesAnimation.
Animated property from the pointer channel extension path.
Animation value type.
Light key (property) to animate.
Get any material animations value type and key (property) to use for the KeyframesAnimation.
Animated property from the pointer channel extension path.
Animation value type.
Material key (property) to animate.
Get an array of MediaTexture from a given array of available ShaderTextureDescriptor corresponding to the given glTF texture name input.
glTF texture name to use to retrieve the textures.
Array of available ShaderTextureDescriptor.
Create all the necessary pointer KeyframesAnimation for a given GLTFScenesManager instance.
Parse the animations channels, and for each one:
GLTFScenesManager instance to parse for pointer animations.
Handle the pointer material animations from the materialAnimations map after the GLTFScenesManager meshes have been created.
Since material animations need an actual LitMesh to apply the animation, they actually need to be registered once the mesh has been created.
This method is called internally by GLTFScenesManager.
Reference MeshDescriptor to use as materialAnimations Map key.
LitMesh that will have its material uniform animated.
Additional class to help manage glTF pointer animations defined by the KHR_animation_pointer extension.
Example