Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Components::VrGlider::HandData Struct Reference

Hand position and orientation data relative to head. More...

Public Attributes

glm::vec3 position { 0.0f }
glm::vec3 relativePosition { 0.0f }
glm::quat orientation { 1.0f, 0.0f, 0.0f, 0.0f }
glm::vec3 palmNormal { 0.0f, -1.0f, 0.0f }
glm::vec3 fingerDirection { 0.0f, 0.0f, -1.0f }
glm::vec3 thumbDirection { 0.0f, 1.0f, 0.0f }
float distanceFromHead = 0.0f
bool isValid = false

Detailed Description

Hand position and orientation data relative to head.

Definition at line 343 of file VrGliderComponent.h.

Member Data Documentation

◆ distanceFromHead

float Engine::Components::VrGlider::HandData::distanceFromHead = 0.0f

Definition at line 351 of file VrGliderComponent.h.

◆ fingerDirection

glm::vec3 Engine::Components::VrGlider::HandData::fingerDirection { 0.0f, 0.0f, -1.0f }

Definition at line 349 of file VrGliderComponent.h.

◆ isValid

bool Engine::Components::VrGlider::HandData::isValid = false

Definition at line 352 of file VrGliderComponent.h.

◆ orientation

glm::quat Engine::Components::VrGlider::HandData::orientation { 1.0f, 0.0f, 0.0f, 0.0f }

Definition at line 347 of file VrGliderComponent.h.

◆ palmNormal

glm::vec3 Engine::Components::VrGlider::HandData::palmNormal { 0.0f, -1.0f, 0.0f }

Definition at line 348 of file VrGliderComponent.h.

◆ position

glm::vec3 Engine::Components::VrGlider::HandData::position { 0.0f }

Definition at line 345 of file VrGliderComponent.h.

◆ relativePosition

glm::vec3 Engine::Components::VrGlider::HandData::relativePosition { 0.0f }

Definition at line 346 of file VrGliderComponent.h.

◆ thumbDirection

glm::vec3 Engine::Components::VrGlider::HandData::thumbDirection { 0.0f, 1.0f, 0.0f }

Definition at line 350 of file VrGliderComponent.h.


The documentation for this struct was generated from the following file: