SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) Method
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.
Attempts to change the gesture settings for this recognizer.
public:
virtual bool TrySetGestureSettings(SpatialGestureSettings settings) = TrySetGestureSettings;
bool TrySetGestureSettings(SpatialGestureSettings const& settings);
public bool TrySetGestureSettings(SpatialGestureSettings settings);
function trySetGestureSettings(settings)
Public Function TrySetGestureSettings (settings As SpatialGestureSettings) As Boolean
Parameters
- settings
- SpatialGestureSettings
The new SpatialGestureSettings to switch to.
Returns
Boolean
bool
True if the switch was successful; otherwise, false.
Remarks
This method can only succeed if there are no gestures currently in progress.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin