• Tween a layer camera position.

    Parameters

    • runtimeScene: RuntimeScene

      The scene

    • identifier: string

      Unique id to identify the tween

    • toX: number

      The targeted position on X axis

    • toY: number

      The targeted position on Y axis

    • layerName: string

      The name of the layer to move

    • easing: string

      Easing function identifier

    • duration: number

      Duration in seconds

    Returns void