PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

KeyframeSequenceProvider

Show deprecated

KeyframeSequenceProvider

Show deprecated

The KeyframeSequenceProvider is a service that is used to load and preview KeyframeSequences. It includes a number of functions that are useful when working with Animations.

What is a KeyframeSequence?

The animation data Roblox uses in the playback of an animation, referenced by the Animation/AnimationId property, is constructed from a KeyframeSequence. Every animation has a KeyframeSequence associated with it. KeyframeSequences are usually created by the Roblox Animation Editor but can be created through other plugins or even manually.

For more information, see the KeyframeSequence page.

What does the KeyframeSequenceProvider do?

The KeyframeSequenceProvider has a number of uses.

  • Download the KeyframeSequence associated with an animation content ID from the Roblox website
  • Generate a temporary id to locally preview an animation
  • Fetch the content IDs of animations owned by a particular user.

Properties

Functions

Instance

GetAnimations ( int64 userId )

[Yields]

This function returns an InventoryPages object which can be used to iterate over animations owned by a specific user.

Instance

GetKeyframeSequenceAsync ( Content assetId )

[Yields]

Returns a KeyframeSequence based on the specified assetId asynchronously.

Content

RegisterActiveKeyframeSequence ( Instance keyframeSequence )

Generates a temporary asset ID from a KeyframeSequence that can be used for localized testing of an animation. Generates an active:// URL.

Content

RegisterKeyframeSequence ( Instance keyframeSequence )

Generates a temporary asset ID from a KeyframeSequence that can be used for localized testing of an animation. Generates a hash.

Events