Skip to content
Roblox API Reference

KeyframeSequenceProvider

Provides functions to load and preview KeyframeSequence.
  • Not creatable
  • Not replicated
  • Service
Memory category
Animation
Own members
8
Inherited members
75
Subclasses
0
Siblings
608

Properties23

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Methods50

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byKeyframeSequenceProvider8
  • KeyframeSequenceProvider:GetAnimationsAsync(userId: User): Instance
    This function returns an InventoryPages object which can be used to iterate over animations owned by a specific user.
    • Yields
    • Capabilities: Animation
    Parameters
    ParameterDescription
    userId: User
    The user ID of the user.
    Returns
    TypeDescription
    Instance
    An InventoryPages of animations.
  • KeyframeSequenceProvider:GetKeyframeSequenceAsync(assetId: string): Instance
    Returns a KeyframeSequence based on the specified assetId asynchronously.
    • Yields
    • Capabilities: Animation
    Parameters
    ParameterDescription
    assetId: string
    The content ID of the animation.
    Returns
    TypeDescription
    Instance
    The KeyframeSequence found.
  • KeyframeSequenceProvider:GetMemStats(): { [string]: any }
    • Roblox script security
    • Capabilities: Animation
  • KeyframeSequenceProvider:RegisterActiveKeyframeSequence(keyframeSequence: Instance): string
    Generates a temporary asset ID from a KeyframeSequence that can be used for localized testing of an animation. Generates an active:// URL.
    • Capabilities: Animation
    Parameters
    ParameterDescription
    keyframeSequence: Instance
    The KeyframeSequence to be used.
    Returns
    TypeDescription
    string
    A temporary asset ID generated for localized animation playback.
  • KeyframeSequenceProvider:RegisterKeyframeSequence(keyframeSequence: Instance): string
    Generates a temporary asset ID from a KeyframeSequence that can be used for localized testing of an animation. Generates a hash.
    • Capabilities: Animation
    Parameters
    ParameterDescription
    keyframeSequence: Instance
    The KeyframeSequence to be used.
    Returns
    TypeDescription
    string
    A temporary asset ID generated for localized animation playback.
  • KeyframeSequenceProvider:GetAnimations(userId: User): Instance
    Deprecated:
    This function returns an InventoryPages object which can be used to iterate over animations owned by a specific user.
    • Deprecated
    • Yields
    • Capabilities: Animation
    Parameters
    ParameterDescription
    userId: User
    The user ID of the user.
    Returns
    TypeDescription
    Instance
    An InventoryPages of animations.

    Use GetAnimationsAsync instead.

  • KeyframeSequenceProvider:GetKeyframeSequence(assetId: string): Instance
    Deprecated: This function is deprecated and can lead to the game freezing until the animation is loaded. Developers are recommended to use KeyframeSequenceProvider:GetKeyframeSequenceAsync() instead.
    Returns a KeyframeSequence from a given asset URL.
    • Deprecated
    • Plugin security
    • Capabilities: Animation
    Parameters
    ParameterDescription
    assetId: string
    The content ID of the animation.
    Returns
    TypeDescription
    Instance
    The KeyframeSequence found.

    Use GetKeyframeSequenceAsync instead.

  • KeyframeSequenceProvider:GetKeyframeSequenceById(assetId: number,useCache: boolean,): Instance
    Deprecated: This function is deprecated and can lead to the game freezing until the animation is loaded. Developers are recommended to use KeyframeSequenceProvider:GetKeyframeSequenceAsync() instead.
    Returns a KeyframeSequence from the supplied assetId.
    • Deprecated
    • Plugin security
    • Capabilities: Animation
    Parameters
    ParameterDescription
    assetId: number
    The content ID of the animation.
    useCache: boolean
    True if a cached version can be returned.
    Returns
    TypeDescription
    Instance
    The KeyframeSequence found.

    Use GetKeyframeSequenceAsync instead.

Events10

Inherited fromObject1
Inherited fromInstance9