Struct XrHandJointVelocityEXT
Describes the velocity of a hand joint. Provided by XR_EXT_hand_tracking.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrHandJointVelocityEXT
Constructors
XrHandJointVelocityEXT(XrSpaceVelocityFlags, XrVector3f, XrVector3f)
Construct an instance.
Declaration
public XrHandJointVelocityEXT(XrSpaceVelocityFlags velocityFlags, XrVector3f linearVelocity, XrVector3f angularVelocity)
Parameters
| Type | Name | Description |
|---|---|---|
| XrSpaceVelocityFlags | velocityFlags | A bitfield describing the validity of the velocities. |
| XrVector3f | linearVelocity | The linear velocity of the hand joint in meters per second. |
| XrVector3f | angularVelocity | The angular velocity of the hand joint in radians per second. |
Properties
angularVelocity
The angular velocity of the hand joint in radians per second.
Declaration
public XrVector3f angularVelocity { get; }
Property Value
| Type | Description |
|---|---|
| XrVector3f |
linearVelocity
The linear velocity of the hand joint in meters per second.
Declaration
public XrVector3f linearVelocity { get; }
Property Value
| Type | Description |
|---|---|
| XrVector3f |
velocityFlags
A bitfield of XrSpaceVelocityFlags describing the validity of the velocities.
Declaration
public XrSpaceVelocityFlags velocityFlags { get; }
Property Value
| Type | Description |
|---|---|
| XrSpaceVelocityFlags |