Share via


SpatialInteractionSource.Id Property

Definition

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

UInt32

unsigned int

uint32_t

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.

Applies to