3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
Loading...
Searching...
No Matches
Engine3DRadSpace.Input.Mouse Class Reference

Represents the mouse input state. More...

#include <Mouse.hpp>

Public Member Functions

 Mouse ()
 Constructs a new Mouse instance with default values.
ButtonState LeftButton () const noexcept
 Gets the button state of the left mouse button.
ButtonState MiddleButton () const noexcept
 Gets the button state of the middle mouse button.
ButtonState RightButton () const noexcept
 Gets the button state of the right mouse button.
Math::Point Position () const noexcept
 Gets the current position of the mouse cursor.
float ScrollWheel () const noexcept
 Gets an integer value representing the amount of scroll wheel movement.

Properties

ButtonState Left [get, set]
ButtonState MiddleButton [get, set]
ButtonState RightButton [get, set]
Point Position [get, set]
float ScrollWheel [get, set]

Friends

class Native::Window

Detailed Description

Represents the mouse input state.

Constructor & Destructor Documentation

◆ Mouse()

Mouse::Mouse ( )

Constructs a new Mouse instance with default values.

Member Function Documentation

◆ LeftButton()

ButtonState Mouse::LeftButton ( ) const
noexcept

Gets the button state of the left mouse button.

Returns
Button state of the left mouse button

◆ MiddleButton()

ButtonState Mouse::MiddleButton ( ) const
noexcept

Gets the button state of the middle mouse button.

Returns
Button state of the middle mouse button

◆ Position()

Point Mouse::Position ( ) const
noexcept

Gets the current position of the mouse cursor.

Returns
Current position of the mouse cursor

◆ RightButton()

ButtonState Mouse::RightButton ( ) const
noexcept

Gets the button state of the right mouse button.

Returns
Button state of the right mouse button

◆ ScrollWheel()

float Mouse::ScrollWheel ( ) const
noexcept

Gets an integer value representing the amount of scroll wheel movement.

Returns

◆ Native::Window

friend class Native::Window
friend

Property Documentation

◆ Left

ButtonState Engine3DRadSpace.Input.Mouse.Left
getset

◆ MiddleButton

ButtonState Engine3DRadSpace.Input.Mouse.MiddleButton
getset

◆ Position

Point Engine3DRadSpace.Input.Mouse.Position
getset

◆ RightButton

ButtonState Engine3DRadSpace.Input.Mouse.RightButton
getset

◆ ScrollWheel

float Engine3DRadSpace.Input.Mouse.ScrollWheel
getset

The documentation for this class was generated from the following files:
  • E:/3DRadSpace/3DRadSpace_CSharp/Input/Mouse.cs
  • E:/3DRadSpace/Engine3DRadSpace/Input/Mouse.hpp
  • E:/3DRadSpace/Engine3DRadSpace/Input/Mouse.cpp