GetCameraRotation

From GT-MP
Jump to: navigation, search
GetCameraRotation
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

This function should return the given Camera rotation.

Syntax

API.getCameraRotation(GlobalCamera cam);

Required Arguments

  • cam: parameter input should be in GlobalCamera type.

NOTE: This function returns data in Vector3 type.

Usage example(s)

API.getCameraRotation(GlobalCamera cam);

References