Nebula
Loading...
Searching...
No Matches
Nebula.Game.Input.Snapshot Struct Reference

Detailed Description

The layout the engine writes with.

The eight byte fields come first and then the four byte ones, which is the order that puts the entry at 128 bytes on both sides without padding.

Package Attributes

KeyWords keys0
KeyWords keys1
KeyWords keys2
uint mouseHeld
uint mouseDown
uint mouseUp
uint mouseDoubleClicked
int wheel
uint hasFocus
uint mouseCaptured
uint keyCaptured
float pixelX
float pixelY
float screenX
float screenY
float moveX
float moveY

Member Data Documentation

◆ hasFocus

uint Nebula.Game.Input.Snapshot.hasFocus
package

◆ keyCaptured

uint Nebula.Game.Input.Snapshot.keyCaptured
package

◆ keys0

KeyWords Nebula.Game.Input.Snapshot.keys0
package

◆ keys1

KeyWords Nebula.Game.Input.Snapshot.keys1
package

◆ keys2

KeyWords Nebula.Game.Input.Snapshot.keys2
package

◆ mouseCaptured

uint Nebula.Game.Input.Snapshot.mouseCaptured
package

◆ mouseDoubleClicked

uint Nebula.Game.Input.Snapshot.mouseDoubleClicked
package

◆ mouseDown

uint Nebula.Game.Input.Snapshot.mouseDown
package

◆ mouseHeld

uint Nebula.Game.Input.Snapshot.mouseHeld
package

◆ mouseUp

uint Nebula.Game.Input.Snapshot.mouseUp
package

◆ moveX

float Nebula.Game.Input.Snapshot.moveX
package

◆ moveY

float Nebula.Game.Input.Snapshot.moveY
package

◆ pixelX

float Nebula.Game.Input.Snapshot.pixelX
package

◆ pixelY

float Nebula.Game.Input.Snapshot.pixelY
package

◆ screenX

float Nebula.Game.Input.Snapshot.screenX
package

◆ screenY

float Nebula.Game.Input.Snapshot.screenY
package

◆ wheel

int Nebula.Game.Input.Snapshot.wheel
package

The documentation for this struct was generated from the following file:
  • /github/workspace/code/addons/nsharp/NebulaEngine/engine/Input.cs