SpatialInteractionSourceState.IsMenuPressed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether a motion controller is experiencing a Menu press.
public:
property bool IsMenuPressed { bool get(); };
bool IsMenuPressed();
public bool IsMenuPressed { get; }
var boolean = spatialInteractionSourceState.isMenuPressed;
Public ReadOnly Property IsMenuPressed As Boolean
Property Value
Boolean
bool
Whether the source is experiencing a Menu press.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
For motion controllers, a Menu press represents the controller's Menu button being pressed.
For all other spatial interaction sources, IsMenuPressed will be false.