Click or drag to resize

PlayerInterpolateCameraLookAt Method

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

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

Parameters

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