XRNodeState.TryGetAcceleration

public bool TryGetAcceleration(out Vector3 acceleration);

Returns

bool True if the acceleration was set in the output parameter. False if the acceleration 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 acceleration of the tracked node.

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