XRNodeState.TryGetVelocity

public bool TryGetVelocity(out Vector3 velocity);

Returns

bool True if the velocity was set in the output parameter. False if the velocity is not available due to limitations of the underlying platform or if the node is not presently tracked.

Description

Attempt to retrieve a vector representing the current velocity of the tracked node.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答