Cogs.Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::Gesture::Pinch Struct Reference

#include <Gestures.h>

Public Attributes

glm::vec2 center = {}
 Mid position between the two pointer positions when the event was triggered.
 
float scale
 Scale factor, 1 when the gesture starts.
 

Member Data Documentation

◆ center

glm::vec2 Cogs::Gesture::Pinch::center = {}

Mid position between the two pointer positions when the event was triggered.

◆ scale

float Cogs::Gesture::Pinch::scale

Scale factor, 1 when the gesture starts.


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