Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetAngularVelocity(out Vector3)

Attempt to retrieve a Vector3 representing the current angular velocity of the tracked node.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetAngularVelocity(Vector3)

public bool TryGetAngularVelocity(out Vector3 angularVelocity)

Parameters

angularVelocity

Returns

Type

Description

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