• Tween a layer camera rotation angle.

    Parameters

    • runtimeScene: RuntimeScene

      The scene

    • identifier: string

      Unique id to identify the tween

    • toRotation: number

      The targeted angle in degrees

    • layerName: string

      The name of the layer to rotate

    • easing: string

      Easing function identifier

    • duration: number

      Duration in seconds

    Returns void