Click or drag to resize

BasePlayerInterpolateCameraPosition Method

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

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual void InterpolateCameraPosition(
	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.
cut
Type: SampSharp.GameMode.DefinitionsCameraCut
The jump cut to use. Defaults to CameraCut.Cut. Set to CameraCut. Move for a smooth movement.
See Also