Class GameplayCamera
Inheritance
Inherited Members
Namespace: GTA
Assembly: ScriptHookVDotNet2.dll
Syntax
public static class GameplayCamera
Properties
| Name | Description |
|---|---|
| Direction | Gets the direction the GameplayCamera is pointing in. |
| FieldOfView | Gets the field of view of the GameplayCamera. |
| IsAimCamActive | Gets a value indicating whether the aiming camera is rendering. |
| IsFirstPersonAimCamActive | Gets a value indicating whether the first person aiming camera is rendering. |
| IsLookingBehind | Gets a value indicating whether the GameplayCamera is looking behind. |
| IsRendering | Gets a value indicating whether the GameplayCamera is rendering. |
| IsShaking | Gets a value indicating whether the GameplayCamera is shaking. |
| Position | Gets the position of the GameplayCamera. |
| RelativeHeading | Gets or sets the relative heading of the GameplayCamera. |
| RelativePitch | Gets or sets the relative pitch of the GameplayCamera. |
| Rotation | Gets the rotation of the GameplayCamera. |
| ShakeAmplitude | Sets the shake amplitude for the GameplayCamera. |
| Zoom | Gets the zoom of the GameplayCamera. |
Methods
| Name | Description |
|---|---|
| ClampPitch(Single, Single) | Clamps the pitch of the GameplayCamera. |
| ClampYaw(Single, Single) | Clamps the yaw of the GameplayCamera. |
| GetOffsetFromWorldCoords(Vector3) | |
| GetOffsetInWorldCoords(Vector3) | |
| Shake(CameraShake, Single) | Shakes the GameplayCamera. |
| StopShaking() | Stops shaking the GameplayCamera. |