# SetTweenCameraAngleZ

## Description

Sets the Euler AngleZ parameter of the given tween ID. A Tween can modify several parameters of a camera at the same time. Set the begin value and the end value and an interpolation method. A tween is just a template that can be applied to many cameras or chains at the same time with PlayTweenCamera or AddTweenChainCamera. Available interpolation methods are TweenLinear(), TweenSmooth1(), TweenSmooth2(), TweenEaseIn1(), TweenEaseIn2(), TweenEaseOut1(), TweenEaseOut2(), TweenBounce(), TweenOvershoot() Use an interpolation method of -1 to turn off interpolation on this value

## Definition

SetTweenCameraAngleZ( tweenID, beginAZ, endAZ, interpolation )

void agk::SetTweenCameraAngleZ( UINT tweenID, float beginAZ, float endAZ, int interpolation )

## Parameters

- tweenID - ID of the tween to modify
- beginAZ - The starting Euler AngleZ value for the camera, the camera will be rotated to this angle when playing starts
- endAZ - The end Euler AngleZ value for the camera, the camera will be rotated to this angle when playing ends
- interpolation - The interpolation method whilst the camera is moving from beginAZ to endAZ