docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRHandRecordingSaveArgs

    The arguments required to save a recording.

    Implements
    IEquatable<XRHandRecordingSaveArgs>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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 object to compare against.

    Returns
    Type Description
    bool

    Returns true if obj is of type XRHandRecordingSaveArgs and Equals(XRHandRecordingSaveArgs) also returns true; otherwise returns false.

    Overrides
    ValueType.Equals(object)

    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 other is equal to this XRHandRecordingSaveArgs. Returns false otherwise.

    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
    ValueType.GetHashCode()

    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 lhs is equal to rhs, otherwise returns false.

    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 lhs is not equal to rhs, otherwise returns false.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)