Table of Contents

Struct PlayerAimData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the aiming data of a player, including camera position, direction, and weapon state.

public readonly struct PlayerAimData
Inherited Members

Fields

aimZ

The Z-axis aiming position of the player.

public readonly float aimZ

Field Value

float

aspectRatio

The aspect ratio of the player's camera.

public readonly float aspectRatio

Field Value

float

camFrontVector

The forward vector of the player's camera, indicating the direction the camera is facing.

public readonly Vector3 camFrontVector

Field Value

Vector3

camMode

The mode of the player's camera.

public readonly byte camMode

Field Value

byte

camPos

The position of the player's camera in the game world.

public readonly Vector3 camPos

Field Value

Vector3

camZoom

The zoom level of the player's camera.

public readonly float camZoom

Field Value

float

weaponState

The current weapon state of the player.

public readonly PlayerWeaponState weaponState

Field Value

PlayerWeaponState