struct Mouse

This stores information about the mouse! What’s its state, where’s it pointed, do we even have one?

Instance Fields and Properties

   
bool available Is the mouse available to use? Most MR systems likely won’t have a mouse!
Vec2 pos Position of the mouse relative to the window it’s in! This is the number of pixels from the top left corner of the screen.
Vec2 posChange How much has the mouse’s position changed in the current frame? Measured in pixels.
Ray Ray Ray representing the position and orientation that the current Input.Mouse.pos is pointing in.
float scroll What’s the current scroll value for the mouse’s scroll wheel? TODO: Units
float scrollChange How much has the scroll wheel value changed during this frame? TODO: Units




Found an issue with these docs, or have some additional questions? Create an Issue on Github!