a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Client / GameplayCamera
abstract GameplayCameraThe current rendering gameplay camera
new GameplayCamera():
GameplayCamera
getstaticForwardVector():Vector3
Get the forward vector of gameplay camera.
getstaticPosition():Vector3
Get the world position of gameplay camera.
getstaticRelativeHeading():number
Get heading of gameplay camera.
setstaticRelativeHeading(heading):void
Get heading of gameplay camera.
• heading: number
number
getstaticRelativePitch():number
Get the pitch of the gameplay camera relative to player.
setstaticRelativePitch(pitch):void
Set gameplay camera pitch relative to player.
• pitch: number
number
getstaticRotation():Vector3
Get the rotation of gameplay camera.