Click or drag to resize

PlayerInterpolateCameraPosition Method

Move this player's camera from one position to another, within the set time.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void InterpolateCameraPosition(
	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.
cut
Type: SampSharp.Entities.SAMPCameraCut
The jump cut to use. Defaults to CameraCut.Cut. Set to CameraCut. Move for a smooth movement.
See Also