SpatialInteractionSource.Id 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 the identifier for the hand, motion controller, or speech source.
public:
property unsigned int Id { unsigned int get(); };
uint32_t Id();
public uint Id { get; }
var uInt32 = spatialInteractionSource.id;
Public ReadOnly Property Id As UInteger
Property Value
The ID.
Remarks
For hands and motion controllers, each detected hand or controller gets a unique ID. For as long as the system can track that a hand is the same hand that was previously detected, it will share an ID.
For speech, a single ID will be used for all speech input.