QtCraft API C++ classes QML types Handbook

QcSnapshotBuffer::Snapshot Struct

struct QcSnapshotBuffer::Snapshot

The motion of the entity at one moment of server time. More...

Public Variables

float pitch
QcVec3 position
double serverMs
float yaw

Detailed Description

Member Variable Documentation

float Snapshot::pitch

Its head pitch, in degrees.

QcVec3 Snapshot::position

Where the entity was.

double Snapshot::serverMs

The server time of the snapshot, in milliseconds.

float Snapshot::yaw

Where it faced, in degrees.