Struct XRHandRecordingInitializeArgs
The arguments required to initialize a new recording.
Implements
Inherited Members
Namespace: UnityEngine.XR.Hands.Capture.Recording
Assembly: Unity.XR.Hands.dll
Syntax
public readonly struct XRHandRecordingInitializeArgs : IEquatable<XRHandRecordingInitializeArgs>
Properties
subsystem
The XRHandSubsystem to capture hand data from.
Declaration
public XRHandSubsystem subsystem { get; init; }
Property Value
| Type | Description |
|---|---|
| XRHandSubsystem |
Remarks
The subsystem is expected to be running for the duration of the recording. If the subsystem is stopped, unexpected behavior may occur.
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The |
Returns
| Type | Description |
|---|---|
| bool | Returns true if |
Overrides
Equals(XRHandRecordingInitializeArgs)
Tests for equality.
Declaration
public bool Equals(XRHandRecordingInitializeArgs other)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingInitializeArgs | other | The XRHandRecordingInitializeArgs to compare against. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if every field in |
GetHashCode()
Computes a hash code from all fields of XRHandRecordingInitializeArgs.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Returns a hash code of this object. |
Overrides
Operators
operator ==(XRHandRecordingInitializeArgs, XRHandRecordingInitializeArgs)
Tests for equality. Same as Equals(XRHandRecordingInitializeArgs).
Declaration
public static bool operator ==(XRHandRecordingInitializeArgs lhs, XRHandRecordingInitializeArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingInitializeArgs | lhs | The left-hand side of the comparison. |
| XRHandRecordingInitializeArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if |
operator !=(XRHandRecordingInitializeArgs, XRHandRecordingInitializeArgs)
Tests for inequality. Same as !Equals(XRHandRecordingInitializeArgs).
Declaration
public static bool operator !=(XRHandRecordingInitializeArgs lhs, XRHandRecordingInitializeArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingInitializeArgs | lhs | The left-hand side of the comparison. |
| XRHandRecordingInitializeArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if |