Class Camera
Inheritance
Inherited Members
Namespace: GTA
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class Camera : IEquatable<Camera>, IHandleable, ISpatial
Constructors
| Name | Description |
|---|---|
| Camera(Int32) |
Properties
| Name | Description |
|---|---|
| DepthOfFieldStrength | Sets the depth of field strength for this Camera. |
| Direction | Gets or sets the direction this Camera is pointing in. |
| FarClip | Gets or sets the far clip of this Camera. |
| FarDepthOfField | Gets or sets the far depth of field of this Camera. |
| FieldOfView | Gets or sets the field of view of this Camera. |
| Handle | |
| IsActive | Gets or sets a value indicating whether this Camera is currently being rendered. |
| IsInterpolating | Gets a value indicating whether this Camera is interpolating. |
| IsShaking | Gets a value indicating whether this Camera is shaking. |
| MotionBlurStrength | Sets the strength of the motion blur for this Camera |
| NearClip | Gets or sets the near clip of this Camera. |
| NearDepthOfField | Sets the near depth of field for this Camera. |
| Position | Gets or sets the position of this Camera. |
| Rotation | Gets or sets the rotation of this Camera. |
| ShakeAmplitude | Sets the shake amplitude for this Camera. |
Methods
| Name | Description |
|---|---|
| AttachTo(Entity, Vector3) | |
| AttachTo(Ped, Int32, Vector3) | |
| Destroy() | |
| Detach() | Detaches this Camera from any Entity or PedBone it may be attached to. |
| Equals(Camera) | |
| Equals(Object) | Determines if an System.Object refers to the same camera as this Camera. |
| Exists() | Determines if this Camera exists. |
| Exists(Camera) | |
| GetHashCode() | |
| GetOffsetFromWorldCoords(Vector3) | |
| GetOffsetInWorldCoords(Vector3) | |
| InterpTo(Camera, Int32, Boolean, Boolean) | |
| PointAt(Entity) | |
| PointAt(Entity, Vector3) | |
| PointAt(Vector3) | Points this Camera at a specified position. |
| PointAt(Ped, Int32) | |
| PointAt(Ped, Int32, Vector3) | |
| Shake(CameraShake, Single) | Shakes this Camera. |
| StopPointing() | Stops this Camera pointing at a specific target. |
| StopShaking() | Stops shaking this Camera. |
Operators
| Name | Description |
|---|---|
| Equality(Camera, Camera) | Determines if two Cameras refer to the same camera. |
| Inequality(Camera, Camera) | Determines if two Checkpoints don't refer to the same camera. |