SampSharp
SampSharp
SampSharp.Entities.SAMP
Player Class
Player Methods
ApplyAnimation Method
AttachCameraToObject Method
Ban Method
CancelEdit Method
CancelSelectTextDraw Method
ClearAnimations Method
CreateExplosion Method
DisableCheckpoint Method
DisableRaceCheckpoint Method
DisableRemoteVehicleCollisions Method
DoEditAttachedObject Method
Edit Method
EnablePlayerCameraTarget Method
EnableStuntBonus Method
ForceClassSelection Method
GameText Method
GetAnimationName Method
GetDistanceFromPoint Method
GetKeys Method
GetLastShot Method
GetTime Method
GetWeaponData Method
GiveMoney Method
GiveWeapon Method
InterpolateCameraLookAt Method
InterpolateCameraPosition Method
IsAttachedObjectSlotUsed Method
IsInRangeOfPoint Method
IsInVehicle Method
IsPlayerStreamedIn Method
Kick Method
PlayAudioStream Method
PlayCrimeReport Method
PlaySound Method
PutCameraBehindPlayer Method
PutInVehicle Method
RemoveAttachedObject Method
RemoveBuilding Method
RemoveFromVehicle Method
RemoveMapIcon Method
ResetMoney Method
ResetWeapons Method
Select Method
SelectTextDraw Method
SendClientMessage Method
SendDeathMessage Method
SendPlayerMessageToPlayer Method
SetAmmo Method
SetArmedWeapon Method
SetAttachedObject Method
SetCameraLookAt Method
SetChatBubble Method
SetCheckpoint Method
SetMapIcon Method
SetPlayerMarker Method
SetPositionFindZ Method
SetRaceCheckpoint Method
SetShopName Method
SetSkillLevel Method
SetSpawnInfo Method
SetTime Method
SetWeather Method
SetWorldBounds Method
ShowNameTagForPlayer Method
Spawn Method
SpectatePlayer Method
SpectateVehicle Method
StartRecordingPlayerData Method
StopAudioStream Method
StopRecordingPlayerData Method
ToggleClock Method
ToggleControllable Method
ToggleSpectating Method
Player
InterpolateCameraPosition 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#
Copy
public
void
InterpolateCameraPosition
(
Vector3
from
,
Vector3
to
,
int
time
,
CameraCut
cut
)
Parameters
from
Type:
SampSharp.Entities.SAMP
Vector3
The position the camera should start to move from.
to
Type:
SampSharp.Entities.SAMP
Vector3
The position the camera should move to.
time
Type:
System
Int32
Time in milliseconds.
cut
Type:
SampSharp.Entities.SAMP
CameraCut
The jump cut to use. Defaults to CameraCut.Cut. Set to CameraCut. Move for a smooth movement.
See Also
Reference
Player Class
SampSharp.Entities.SAMP Namespace