|
IntPtr | MemoryAddress [get] |
| Gets the memory address of this Camera. More...
|
|
bool | IsActive [get, set] |
| Gets or sets a value indicating whether this Camera is currently being rendered. More...
|
|
Matrix? | Matrix [get] |
| Gets the matrix of this Camera. More...
|
|
Vector3 | Position [get, set] |
| Gets or sets the position of this Camera. More...
|
|
Vector3 | Rotation [get, set] |
| Gets or sets the rotation of this Camera. More...
|
|
Vector3 | Direction [get, set] |
| Gets or sets the direction this Camera is pointing in. More...
|
|
Vector3? | UpVector [get] |
| Gets the up vector of this Camera. More...
|
|
Vector3? | RightVector [get] |
| Gets the right vector of this Camera. More...
|
|
Vector3? | ForwardVector [get] |
| Gets the forward vector of this Camera, see also - See also
- Direction
. More...
|
|
float | FarClip [get, set] |
| Gets or sets the far clip of this Camera. More...
|
|
float | NearClip [get, set] |
| Gets or sets the near clip of this Camera. More...
|
|
float | FieldOfView [get, set] |
| Gets or sets the field of view of this Camera. More...
|
|
float | FarDepthOfField [get, set] |
| Gets or sets the far depth of field of this Camera. More...
|
|
float | NearDepthOfField [set] |
| Sets the near depth of field for this Camera. More...
|
|
float | MotionBlurStrength [set] |
| Sets the strength of the motion blur for this Camera More...
|
|
float | DepthOfFieldStrength [set] |
| Sets the depth of field strength for this Camera. More...
|
|
bool | IsShaking [get] |
| Gets a value indicating whether this Camera is shaking. More...
|
|
float | ShakeAmplitude [set] |
| Sets the shake amplitude for this Camera. More...
|
|
bool | IsInterpolating [get] |
| Gets a value indicating whether this Camera is interpolating. More...
|
|
int | Handle [get, protected set] |
| The handle of the object. More...
|
|
ulong | NativeValue [get, set] |
| The handle of the object translated to a native value. More...
|
|
ulong | NativeValue [get, set] |
|
Vector3 | Position [get, set] |
|
Vector3 | Rotation [get, set] |
|
◆ Camera()
GTA.Camera.Camera |
( |
int |
handle | ) |
|
◆ AttachTo() [1/2]
Attaches this Camera to a specific Entity.
- Parameters
-
entity | The Entity to attach to. |
offset | The offset from the entity to attach to. |
◆ AttachTo() [2/2]
Attaches this Camera to a specific PedBone.
- Parameters
-
pedBone | The PedBone to attach to. |
offset | The offset from the pedBone to attach to. |
◆ Delete()
override void GTA.Camera.Delete |
( |
| ) |
|
|
virtual |
◆ Detach()
void GTA.Camera.Detach |
( |
| ) |
|
◆ Equals()
override bool GTA.Camera.Equals |
( |
object |
obj | ) |
|
Determines if an object refers to the same camera as this Camera.
- Parameters
-
- Returns
true
if the obj is the same camera as this Camera; otherwise, false
.
◆ Exists()
override bool GTA.Camera.Exists |
( |
| ) |
|
|
virtual |
◆ GetHashCode()
override int GTA.Camera.GetHashCode |
( |
| ) |
|
◆ GetOffsetPosition()
Gets the position in world coordinates of an offset relative to this Camera
- Parameters
-
offset | The offset from this Camera. |
◆ GetPositionOffset()
Gets the relative offset of this Camera from a world coordinates position
- Parameters
-
worldCoords | The world coordinates. |
◆ InterpTo()
void GTA.Camera.InterpTo |
( |
Camera |
to, |
|
|
int |
duration, |
|
|
int |
easePosition, |
|
|
int |
easeRotation |
|
) |
| |
Moves this Camera to the to position.
◆ operator InputArgument()
Converts a Camera to a native input argument.
◆ operator!=()
static bool GTA.Camera.operator!= |
( |
Camera |
left, |
|
|
Camera |
right |
|
) |
| |
|
static |
Determines if two Checkpoints don't refer to the same camera.
- Parameters
-
- Returns
true
if left is not the same camera as right ; otherwise, false
.
◆ operator==()
static bool GTA.Camera.operator== |
( |
Camera |
left, |
|
|
Camera |
right |
|
) |
| |
|
static |
Determines if two Cameras refer to the same camera.
- Parameters
-
- Returns
true
if left is the same camera as right ; otherwise, false
.
◆ PointAt() [1/3]
void GTA.Camera.PointAt |
( |
Entity |
target, |
|
|
Vector3 |
offset = default |
|
) |
| |
Points this Camera at a specified Entity.
- Parameters
-
target | The Entity to point at. |
offset | The offset from the target to point at. |
◆ PointAt() [2/3]
Points this Camera at a specified PedBone.
- Parameters
-
target | The PedBone to point at. |
offset | The offset from the target to point at |
◆ PointAt() [3/3]
void GTA.Camera.PointAt |
( |
Vector3 |
target | ) |
|
Points this Camera at a specified position.
- Parameters
-
target | The position to point at. |
◆ Shake()
void GTA.Camera.Shake |
( |
CameraShake |
shakeType, |
|
|
float |
amplitude |
|
) |
| |
Shakes this Camera.
- Parameters
-
shakeType | Type of the shake to apply. |
amplitude | The amplitude of the shaking. |
◆ StopPointing()
void GTA.Camera.StopPointing |
( |
| ) |
|
Stops this Camera pointing at a specific target.
◆ StopShaking()
void GTA.Camera.StopShaking |
( |
| ) |
|
◆ DepthOfFieldStrength
float GTA.Camera.DepthOfFieldStrength |
|
set |
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
float GTA.Camera.FarDepthOfField |
|
getset |
Gets or sets the far depth of field of this Camera.
◆ FieldOfView
float GTA.Camera.FieldOfView |
|
getset |
Gets or sets the field of view of this Camera.
◆ ForwardVector
◆ IsActive
Gets or sets a value indicating whether this Camera is currently being rendered.
true
if this Camera is active; otherwise, false
.
◆ IsInterpolating
bool GTA.Camera.IsInterpolating |
|
get |
Gets a value indicating whether this Camera is interpolating.
true
if this Camera is interpolating; otherwise, false
.
◆ IsShaking
bool GTA.Camera.IsShaking |
|
get |
Gets a value indicating whether this Camera is shaking.
true
if this Camera is shaking; otherwise, false
.
◆ Matrix
Gets the matrix of this Camera.
◆ MemoryAddress
IntPtr GTA.Camera.MemoryAddress |
|
get |
Gets the memory address of this Camera.
◆ MotionBlurStrength
float GTA.Camera.MotionBlurStrength |
|
set |
Sets the strength of the motion blur for this Camera
◆ NearClip
float GTA.Camera.NearClip |
|
getset |
Gets or sets the near clip of this Camera.
◆ NearDepthOfField
float GTA.Camera.NearDepthOfField |
|
set |
Sets the near depth of field for this Camera.
◆ Position
Gets or sets the position of this Camera.
◆ RightVector
Gets the right vector of this Camera.
◆ Rotation
Gets or sets the rotation of this Camera.
The yaw, pitch and roll rotations measured in degrees.
◆ ShakeAmplitude
float GTA.Camera.ShakeAmplitude |
|
set |
Sets the shake amplitude for this Camera.
◆ UpVector
Gets the up vector of this Camera.
The documentation for this class was generated from the following file:
- C:/Users/nitan/source/repos/scripthookvdotnet/source/scripting_v3/GTA/Camera.cs