Documentation

Unity Engine

Download Unity

Unity Engine

TryGetAngularAcceleration(out Vector3)

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

Definition

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

TryGetAngularAcceleration(Vector3)

public bool TryGetAngularAcceleration(out Vector3 angularAcceleration)

Parameters

angularAcceleration

A Vector3 that the method sets to the current angular acceleration of the tracked node, or to Vector3.zero if the angular acceleration isn't available.

Returns

Type

Description

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