Options
All
  • Public
  • Public/Protected
  • All
Menu

Helper methods for managing animations.

Hierarchy

  • AnimationService

Index

Methods

Static blendAnimation

  • Blends the currently playing animation with the new animation. If no animation was running before, the new animation is blended with the entity's current property values.

    Parameters

    Returns Entity

Static createAnimationBlenderContext

  • Creates the context required for animation blending.

    Parameters

    Returns Entity

Static createAnimationClipPlayer

  • Creates a new entity with the AnimationClipPlayer component and sets it up to run immediately.

    Parameters

    Returns Entity

Static destroyAnimationBlenderContext

  • Destroys the animation blender context and associated entities.

    Parameters

    Returns void

Static getAnimationClipInfo

  • Gets animation clip info (start and end time) for the animationClip entity.

    Parameters

    Returns AnimationClipInfo

Generated using TypeDoc