Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::ScreenVector Struct Reference

#include <ScreenGeometry.h>

Public Member Functions

 AZ_TYPE_INFO (ScreenVector, "{1EAA2C62-8FDB-4A28-9FE3-1FA4F1418894}")
 
constexpr ScreenVector (int x, int y)
 

Public Attributes

int m_x
 X screen delta.
 
int m_y
 Y screen delta.
 

Detailed Description

A wrapper around an X and Y screen vector. A ScreenVector only represents a movement (delta). ScreenVectors can be added to ScreenPoints to return a new ScreenPoint, and ScreenPoints can be subtracted from each other to give a ScreenVector, but two ScreenPoints cannot be added together.


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