QtCraft API C++ classes QML types Handbook

QcMsg::UseItem::View Struct

struct QcMsg::UseItem::View

Degrees; the server wraps yaw into [0, 360) and clamps pitch to [-90, 90] (positive is up). More...

Public Variables

float pitch
float yaw

Detailed Description

Member Variable Documentation

float View::pitch

Vertical view angle.

float View::yaw

Horizontal view angle.