Click or drag to resize

BasePlayerInterpolateCameraLookAt Method

Interpolate this BasePlayer's camera's 'look at' point between two coordinates with a set speed.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void InterpolateCameraLookAt(
	Vector3 from,
	Vector3 to,
	int time,
	CameraCut cut
)

Parameters

from
Type: SampSharp.GameModeVector3
The position the camera should start to move from.
to
Type: SampSharp.GameModeVector3
The position the camera should move to.
time
Type: SystemInt32
Time in milliseconds to complete interpolation.
cut
Type: SampSharp.GameMode.DefinitionsCameraCut
The jump cut to use. Defaults to CameraCut.Cut (pointless). Set to CameraCut.Move for interpolation.
See Also