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
get
static
ForwardVector():Vector3
Get the forward vector of gameplay camera.
get
static
Position():Vector3
Get the world position of gameplay camera.
get
static
RelativeHeading():number
Get heading of gameplay camera.
set
static
RelativeHeading(heading
):void
Get heading of gameplay camera.
• heading: number
number
get
static
RelativePitch():number
Get the pitch of the gameplay camera relative to player.
set
static
RelativePitch(pitch
):void
Set gameplay camera pitch relative to player.
• pitch: number
number
get
static
Rotation():Vector3
Get the rotation of gameplay camera.