Chunks
Moddable voxel sandbox for room-scale VR.
Classes | Public Member Functions | Properties | List of all members
Chunks.Interface.WandButton Class Reference

Represents a button on a Wand. More...

Classes

class  EventArgs
 

Public Member Functions

 WandButton ()
 

Properties

bool IsHeld [get]
 If true, the button is currently held in a pressed state. More...
 
bool IsPressed [get]
 True for one frame when the button goes from unpressed to pressed. More...
 
bool IsReleased [get]
 True for one from when the button goes from pressed to unpressed. More...
 
EventHandler< EventArgsPressed
 Invoked when the button goes from unpressed to pressed. Handlers attached from a WandTool are only invoked if that WandTool is active. More...
 
EventHandler< EventArgsReleased
 Invoked when the button goes from pressed to unpressed. Handlers attached from a WandTool are only invoked if that WandTool is active. More...
 

Detailed Description

Represents a button on a Wand.

Constructor & Destructor Documentation

Chunks.Interface.WandButton.WandButton ( )

Property Documentation

bool Chunks.Interface.WandButton.IsHeld
get

If true, the button is currently held in a pressed state.

bool Chunks.Interface.WandButton.IsPressed
get

True for one frame when the button goes from unpressed to pressed.

bool Chunks.Interface.WandButton.IsReleased
get

True for one from when the button goes from pressed to unpressed.

EventHandler<EventArgs> Chunks.Interface.WandButton.Pressed
addremove

Invoked when the button goes from unpressed to pressed. Handlers attached from a WandTool are only invoked if that WandTool is active.

EventHandler<EventArgs> Chunks.Interface.WandButton.Released
addremove

Invoked when the button goes from pressed to unpressed. Handlers attached from a WandTool are only invoked if that WandTool is active.


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