Struct XrHandJointVelocitiesEXT
Contains the velocities of hand joints. Provided by XR_EXT_hand_tracking.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrHandJointVelocitiesEXT
Remarks
Warning
Don't initialize this struct with the default parameterless constructor. Use either defaultValue or a constructor with parameters to ensure that type is correctly initialized to HandJointVelocitiesEXT.
Constructors
XrHandJointVelocitiesEXT(NativeArray<XrHandJointVelocityEXT>)
Construct an instance with a null next pointer from a native array.
Declaration
public XrHandJointVelocitiesEXT(NativeArray<XrHandJointVelocityEXT> jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeArray<XrHandJointVelocityEXT> | jointVelocities | Native array of joint velocities. |
XrHandJointVelocitiesEXT(ReadOnly)
Construct an instance with a null next pointer from a read-only native array.
Declaration
public XrHandJointVelocitiesEXT(NativeArray<XrHandJointVelocityEXT>.ReadOnly jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnly | jointVelocities | Read-only native array of joint velocities. |
XrHandJointVelocitiesEXT(uint, XrHandJointVelocityEXT*)
Construct an instance with a null next pointer.
Declaration
public XrHandJointVelocitiesEXT(uint jointCount, XrHandJointVelocityEXT* jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | jointCount | The count of elements in |
| XrHandJointVelocityEXT* | jointVelocities | Pointer to an array of joint velocities. |
XrHandJointVelocitiesEXT(void*, NativeArray<XrHandJointVelocityEXT>)
Construct an instance from a native array.
Declaration
public XrHandJointVelocitiesEXT(void* next, NativeArray<XrHandJointVelocityEXT> jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| NativeArray<XrHandJointVelocityEXT> | jointVelocities | Native array of joint velocities. |
XrHandJointVelocitiesEXT(void*, ReadOnly)
Construct an instance from a read-only native array.
Declaration
public XrHandJointVelocitiesEXT(void* next, NativeArray<XrHandJointVelocityEXT>.ReadOnly jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| ReadOnly | jointVelocities | Read-only native array of joint velocities. |
XrHandJointVelocitiesEXT(void*, uint, XrHandJointVelocityEXT*)
Construct an instance.
Declaration
public XrHandJointVelocitiesEXT(void* next, uint jointCount, XrHandJointVelocityEXT* jointVelocities)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| uint | jointCount | The count of elements in |
| XrHandJointVelocityEXT* | jointVelocities | Pointer to an array of joint velocities. |
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrHandJointVelocitiesEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrHandJointVelocitiesEXT |
jointCount
The count of elements in jointVelocities.
Declaration
public uint jointCount { get; }
Property Value
| Type | Description |
|---|---|
| uint |
jointVelocities
Pointer to an array of XrHandJointVelocityEXT structures.
Declaration
public XrHandJointVelocityEXT* jointVelocities { get; }
Property Value
| Type | Description |
|---|---|
| XrHandJointVelocityEXT* |
next
null or a pointer to the next structure in a structure chain.
Declaration
public void* next { get; }
Property Value
| Type | Description |
|---|---|
| void* |
type
The XrStructureType of this struct: HandJointVelocitiesEXT.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |