Struct XRHandRecordingSaveArgs
The arguments required to save a recording.
Implements
Inherited Members
Namespace: UnityEngine.XR.Hands.Capture.Recording
Assembly: Unity.XR.Hands.dll
Syntax
public readonly struct XRHandRecordingSaveArgs : IEquatable<XRHandRecordingSaveArgs>
Properties
recordingName
The name to assign to the recording.
Declaration
public string recordingName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This string is used as the recording asset name when the recording is imported into the Unity Editor.
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(XRHandRecordingSaveArgs)
Tests for equality.
Declaration
public bool Equals(XRHandRecordingSaveArgs other)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingSaveArgs | other | The XRHandRecordingSaveArgs to compare against. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if every field in |
GetHashCode()
Computes a hash code from all fields of XRHandRecordingSaveArgs.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Returns a hash code of this object. |
Overrides
Operators
operator ==(XRHandRecordingSaveArgs, XRHandRecordingSaveArgs)
Tests for equality. Same as Equals(XRHandRecordingSaveArgs).
Declaration
public static bool operator ==(XRHandRecordingSaveArgs lhs, XRHandRecordingSaveArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingSaveArgs | lhs | The left-hand side of the comparison. |
| XRHandRecordingSaveArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if |
operator !=(XRHandRecordingSaveArgs, XRHandRecordingSaveArgs)
Tests for inequality. Same as !Equals(XRHandRecordingSaveArgs).
Declaration
public static bool operator !=(XRHandRecordingSaveArgs lhs, XRHandRecordingSaveArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandRecordingSaveArgs | lhs | The left-hand side of the comparison. |
| XRHandRecordingSaveArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if |