Struct XRCameraSubsystemCinfo
Encapsulates the parameters for creating a new XRCameraSubsystemDescriptor.
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 { 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
public Type implementationType { get; set; }
Property Value
Type | Description |
---|---|
Type | The provider implementation type to use for instantiation. |
supportsAverageBrightness
Specifies if current subsystem is allowed to provide average brightness.
Declaration
public bool supportsAverageBrightness { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsAverageColorTemperature
Specifies if current subsystem is allowed to provide average camera temperature.
Declaration
public bool supportsAverageColorTemperature { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsAverageIntensityInLumens
Specifies if current subsystem is allowed to provide average intensity in lumens.
Declaration
public bool supportsAverageIntensityInLumens { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsCameraConfigurations
Specifies if the current subsystem supports camera configurations.
Declaration
public bool supportsCameraConfigurations { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsCameraGrain
Specifies whether the subsystem supports camera grain effect.
Declaration
public bool supportsCameraGrain { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsCameraImage
Specifies if the current subsystem is allowed to provide camera images.
Declaration
public bool supportsCameraImage { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsColorCorrection
True if color correction is supported.
Declaration
public bool supportsColorCorrection { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsDisplayMatrix
Specifies if current subsystem is allowed to provide display matrix.
Declaration
public bool supportsDisplayMatrix { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsFaceTrackingAmbientIntensityLightEstimation
Specifies whether the subsystem supports ambient intensity light estimation while face tracking.
Declaration
public bool supportsFaceTrackingAmbientIntensityLightEstimation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsFaceTrackingHDRLightEstimation
Specifies whether the subsystem supports HDR light estimation while face tracking.
Declaration
public bool supportsFaceTrackingHDRLightEstimation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsFocusModes
Specifies whether the subsystem supports setting the camera's focus mode.
Declaration
public bool supportsFocusModes { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsProjectionMatrix
Specifies if current subsystem is allowed to provide projection matrix.
Declaration
public bool supportsProjectionMatrix { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsTimestamp
Specifies if current subsystem is allowed to provide timestamp.
Declaration
public bool supportsTimestamp { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsWorldTrackingAmbientIntensityLightEstimation
Specifies whether the subsystem supports ambient intensity light estimation while world tracking.
Declaration
public bool supportsWorldTrackingAmbientIntensityLightEstimation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsWorldTrackingHDRLightEstimation
Specifies whether the subsystem supports HDR light estimation while world tracking.
Declaration
public bool supportsWorldTrackingHDRLightEstimation { 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 |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
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 |
|
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
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 |
|
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 |
|