QtCraft API C++ classes QML types Handbook

QcFovEffect::Movement Struct

struct QcFovEffect::Movement

How the player moves this frame. More...

Public Variables

double draw
bool flying
bool sprinting

Detailed Description

Member Variable Documentation

double Movement::draw

The share of a launcher's draw time drawn so far (0..1), 0 when nothing is drawn (QcLauncherDefinition::shareOf).

bool Movement::flying

Flying (creative mode).

bool Movement::sprinting

Sprinting and actually faster than walking (not stuck at a wall).