CinematicPose beta
Interface of @v12-engine/client
export interface CinematicPose extends CameraPoseA pose with what a cinematic's shot may add to the RTS view (cinematic plan B1): the lens, the horizon's tilt, a point to look at other than the ground. What a shot leaves out is the RTS view's own (fov 34°, no roll, the ground itself); once the cinematic lets go, the camera eases back to those
Members
fov
fov?: number;The lens: the angle the view takes in from top to bottom, in degrees. 34 is the RTS view's; a long lens (20) flattens the depth, a wide one (70) stretches it
height
height?: number;How far above the ground the point looked at is: a unit's head rather than its feet, a tower's top
lookAt
lookAt?: {
x: number;
z: number;
y?: number;
};What the camera looks at, instead of the point it is placed by: it stands where x, z, distance, yaw and pitch put it, and turns to this (y above the ground there, 0 when left out). A camera on a rail watching the hero
roll
roll?: number;The horizon tilted, in radians: a Dutch angle. Positive tilts it clockwise as the player sees it