public bool TryGetPosition (out Vector3 position, XR.WSA.Input.InteractionSourceNode node);

Parámetros

positionThe position of the interaction source, is the function returns true.
nodeSpecifies which part of the controller to query for its position.

Valor de retorno

bool This method returns true when the Vector3 passed in was filled out correctly, and false if otherwise.

Descripción

Gets the position of the interaction source, assuming the backing data is valid.