SpatialInteractionSourceState.IsMenuPressed SpatialInteractionSourceState.IsMenuPressed SpatialInteractionSourceState.IsMenuPressed SpatialInteractionSourceState.IsMenuPressed SpatialInteractionSourceState.IsMenuPressed Property

Definition

Gets whether a motion controller is experiencing a Menu press.

public : Platform::Boolean IsMenuPressed { get; }
bool IsMenuPressed();
public bool IsMenuPressed { get; }
Public ReadOnly Property IsMenuPressed As bool
var bool = spatialInteractionSourceState.isMenuPressed;

Property Value

bool bool bool

Whether the source is experiencing a Menu press.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

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.