• Tween a layer camera Z position.

    Parameters

    • runtimeScene: RuntimeScene

      The scene

    • identifier: string

      Unique id to identify the tween

    • toZ: number

      The targeted Z position

    • layerName: string

      The name of the layer to move

    • easing: string

      Easing function identifier

    • duration: number

      Duration in seconds

    Returns void