Struct XrHandJointsMotionRangeInfoEXT
Extends XrHandJointsLocateInfoEXT to constrain the returned hand joint
poses to either natural movement or movement that conforms to a held
controller. Provided by XR_EXT_hand_joints_motion_range.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrHandJointsMotionRangeInfoEXT
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 HandJointsMotionRangeInfoEXT.
Constructors
XrHandJointsMotionRangeInfoEXT(void*, XrHandJointsMotionRangeEXT)
Construct an instance.
Declaration
public XrHandJointsMotionRangeInfoEXT(void* next, XrHandJointsMotionRangeEXT handJointsMotionRange)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| XrHandJointsMotionRangeEXT | handJointsMotionRange | The motion range constraint to apply. |
XrHandJointsMotionRangeInfoEXT(XrHandJointsMotionRangeEXT)
Construct an instance with a null next pointer.
Declaration
public XrHandJointsMotionRangeInfoEXT(XrHandJointsMotionRangeEXT handJointsMotionRange)
Parameters
| Type | Name | Description |
|---|---|---|
| XrHandJointsMotionRangeEXT | handJointsMotionRange | The motion range constraint to apply. |
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrHandJointsMotionRangeInfoEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrHandJointsMotionRangeInfoEXT |
handJointsMotionRange
The motion range constraint that the runtime should apply when
returning hand joint poses for the next xrLocateHandJointsEXT call.
Declaration
public XrHandJointsMotionRangeEXT handJointsMotionRange { get; }
Property Value
| Type | Description |
|---|---|
| XrHandJointsMotionRangeEXT |
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: HandJointsMotionRangeInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |