docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRHumanBodySubsystemCinfo

    Constructor info for the XRHumanBodySubsystemDescriptor.

    Implements
    IEquatable<XRHumanBodySubsystemCinfo>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    [Obsolete("XRHumanBodySubsystemCinfo has been deprecated in AR Foundation version 6.0. Use XRHumanBodySubsystemDescriptor.Cinfo instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRHumanBodySubsystemDescriptor/Cinfo", false)]
    public struct XRHumanBodySubsystemCinfo : IEquatable<XRHumanBodySubsystemCinfo>

    Properties

    id

    Specifies an identifier for the provider implementation of the subsystem.

    Declaration
    public string id { readonly get; set; }
    Property Value
    Type Description
    string

    The identifier for the provider implementation of the subsystem.

    providerType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    public Type providerType { readonly get; set; }
    Property Value
    Type Description
    Type

    The provider implementation type to use for instantiation.

    subsystemTypeOverride

    Specifies the XRHumanBodySubsystem-derived type that forwards casted calls to its provider.

    Declaration
    public Type subsystemTypeOverride { readonly get; set; }
    Property Value
    Type Description
    Type

    The type of the subsystem to use for instantiation. If null, XRHumanBodySubsystem will be instantiated.

    supportsHumanBody2D

    Specifies if the current subsystem supports 2D human body pose estimation.

    Declaration
    public bool supportsHumanBody2D { readonly get; set; }
    Property Value
    Type Description
    bool

    true if the current subsystem supports 2D human body pose estimation. Otherwise, false.

    supportsHumanBody3D

    Specifies if the current subsystem supports 3D human body pose estimation.

    Declaration
    public bool supportsHumanBody3D { readonly get; set; }
    Property Value
    Type Description
    bool

    true if the current subsystem supports 3D human body pose estimation. Otherwise, false.

    supportsHumanBody3DScaleEstimation

    Specifies if the current subsystem supports 3D human body scale estimation.

    Declaration
    public bool supportsHumanBody3DScaleEstimation { readonly get; set; }
    Property Value
    Type Description
    bool

    true if the current subsystem supports 3D human body scale estimation. Otherwise, false.

    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

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

    Overrides
    ValueType.Equals(object)

    Equals(XRHumanBodySubsystemCinfo)

    Tests for equality.

    Declaration
    public bool Equals(XRHumanBodySubsystemCinfo other)
    Parameters
    Type Name Description
    XRHumanBodySubsystemCinfo other

    The other XRHumanBodySubsystemCinfo to compare against.

    Returns
    Type Description
    bool

    True if every field in other is equal to this XRHumanBodySubsystemCinfo, otherwise false.

    GetHashCode()

    Generates a hash suitable for use with containers like HashSet and Dictionary.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(XRHumanBodySubsystemCinfo, XRHumanBodySubsystemCinfo)

    Tests for equality. Same as Equals(XRHumanBodySubsystemCinfo).

    Declaration
    public static bool operator ==(XRHumanBodySubsystemCinfo lhs, XRHumanBodySubsystemCinfo rhs)
    Parameters
    Type Name Description
    XRHumanBodySubsystemCinfo lhs

    The left-hand side of the comparison.

    XRHumanBodySubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is equal to rhs, otherwise false.

    operator !=(XRHumanBodySubsystemCinfo, XRHumanBodySubsystemCinfo)

    Tests for inequality. Same as !Equals(XRHumanBodySubsystemCinfo).

    Declaration
    public static bool operator !=(XRHumanBodySubsystemCinfo lhs, XRHumanBodySubsystemCinfo rhs)
    Parameters
    Type Name Description
    XRHumanBodySubsystemCinfo lhs

    The left-hand side of the comparison.

    XRHumanBodySubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is not equal to rhs, otherwise false.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2024 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)