docs.unity3d.com
    目次を表示する/隠す

    Struct XRCameraSubsystemCinfo

    Contains the parameters for creating a new XRCameraSubsystemDescriptor.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public struct XRCameraSubsystemCinfo : IEquatable<XRCameraSubsystemCinfo>

    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.

    implementationType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    [Obsolete("XRCameraSubsystem no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
    public Type implementationType { readonly get; set;
    }
    Property Value
    Type Description
    Type

    The provider implementation type to use for instantiation.

    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 XRCameraSubsystem-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, XRCameraSubsystem will be instantiated.

    supportsAverageBrightness

    Specifies if the current subsystem is allowed to provide the average brightness.

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

    true if the current subsystem is allowed to provide the average brightness. Otherwise, false.

    supportsAverageColorTemperature

    Specifies if the current subsystem is allowed to provide the average camera temperature.

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

    true if the current subsystem is allowed to provide the average camera temperature. Otherwise, false.

    supportsAverageIntensityInLumens

    Specifies if current subsystem is allowed to provide the average intensity in lumens.

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

    true if current subsystem is allowed to provide the average intensity in lumens. Otherwise, false.

    supportsCameraConfigurations

    Specifies if the current subsystem supports camera configurations.

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

    true if the current subsystem supports camera configurations. Otherwise, false.

    supportsCameraGrain

    Specifies whether the subsystem supports a camera grain effect.

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

    supportsCameraImage

    Specifies if the current subsystem is allowed to provide camera images.

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

    true if the current subsystem is allowed to provide camera images. Otherwise, false.

    supportsColorCorrection

    True if color correction is supported.

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

    supportsDisplayMatrix

    Specifies if the current subsystem is allowed to provide a display matrix.

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

    true if the current subsystem is allowed to provide a display matrix. Otherwise, false.

    supportsFaceTrackingAmbientIntensityLightEstimation

    Specifies whether the subsystem supports ambient intensity light estimation while face tracking.

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

    supportsFaceTrackingHDRLightEstimation

    Specifies whether the subsystem supports HDR light estimation while face tracking.

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

    supportsFocusModes

    Specifies whether the subsystem supports setting the camera's focus mode.

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

    supportsProjectionMatrix

    Specifies if the current subsystem is allowed to provide a projection matrix.

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

    true if the current subsystem is allowed to provide a projection matrix. Otherwise, false.

    supportsTimestamp

    Specifies if the current subsystem is allowed to provide a timestamp.

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

    true if the current subsystem is allowed to provide a timestamp. Otherwise, false.

    supportsWorldTrackingAmbientIntensityLightEstimation

    Specifies whether the subsystem supports ambient intensity light estimation while world tracking.

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

    supportsWorldTrackingHDRLightEstimation

    Specifies whether the subsystem supports HDR light estimation while world tracking.

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

    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
    Boolean

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

    Overrides
    ValueType.Equals(Object)

    Equals(XRCameraSubsystemCinfo)

    Tests for equality.

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

    The other XRCameraSubsystemCinfo to compare against.

    Returns
    Type Description
    Boolean

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

    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

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

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(XRCameraSubsystemCinfo, XRCameraSubsystemCinfo)

    Tests for equality. Same as Equals(XRCameraSubsystemCinfo).

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

    The left-hand side of the comparison.

    XRCameraSubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    True if lhs is equal to rhs, otherwise false.

    Inequality(XRCameraSubsystemCinfo, XRCameraSubsystemCinfo)

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

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

    The left-hand side of the comparison.

    XRCameraSubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)