Struct XrHandTrackerCreateInfoEXT
Describes the information to create a hand tracker. Provided by XR_EXT_hand_tracking.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrHandTrackerCreateInfoEXT
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 HandTrackerCreateInfoEXT.
Constructors
XrHandTrackerCreateInfoEXT(void*, XrHandEXT, XrHandJointSetEXT)
Construct an instance.
Declaration
public XrHandTrackerCreateInfoEXT(void* next, XrHandEXT hand, XrHandJointSetEXT handJointSet)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| XrHandEXT | hand | The hand for which the tracker will be created. |
| XrHandJointSetEXT | handJointSet | The set of hand joints to track. |
XrHandTrackerCreateInfoEXT(XrHandEXT, XrHandJointSetEXT)
Construct an instance with a null next pointer.
Declaration
public XrHandTrackerCreateInfoEXT(XrHandEXT hand, XrHandJointSetEXT handJointSet)
Parameters
| Type | Name | Description |
|---|---|---|
| XrHandEXT | hand | The hand for which the tracker will be created. |
| XrHandJointSetEXT | handJointSet | The set of hand joints to track. |
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrHandTrackerCreateInfoEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrHandTrackerCreateInfoEXT |
hand
The hand for which the tracker will be created.
Declaration
public XrHandEXT hand { get; }
Property Value
| Type | Description |
|---|---|
| XrHandEXT |
handJointSet
The set of hand joints to track.
Declaration
public XrHandJointSetEXT handJointSet { get; }
Property Value
| Type | Description |
|---|---|
| XrHandJointSetEXT |
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: HandTrackerCreateInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |