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 { 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
public Type implementationType { readonly 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 { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsAverageColorTemperature
Specifies if current subsystem is allowed to provide average camera temperature.
Declaration
public bool supportsAverageColorTemperature { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsCameraConfigurations
Specifies if the current subsystem supports camera configurations.
Declaration
public bool supportsCameraConfigurations { 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 |
|
supportsColorCorrection
True if color correction is supported.
Declaration
public bool supportsColorCorrection { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
supportsDisplayMatrix
Specifies if current subsystem is allowed to provide display matrix.
Declaration
public bool supportsDisplayMatrix { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsProjectionMatrix
Specifies if current subsystem is allowed to provide projection matrix.
Declaration
public bool supportsProjectionMatrix { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsTimestamp
Specifies if current subsystem is allowed to provide timestamp.
Declaration
public bool supportsTimestamp { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
Equals(System.Object)
Declaration
public override bool Equals(System.Object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Equals(XRCameraSubsystemCinfo)
Declaration
public bool Equals(XRCameraSubsystemCinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRCameraSubsystemCinfo | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Operators
Equality(XRCameraSubsystemCinfo, XRCameraSubsystemCinfo)
Declaration
public static bool operator ==(XRCameraSubsystemCinfo lhs, XRCameraSubsystemCinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRCameraSubsystemCinfo | lhs | |
XRCameraSubsystemCinfo | rhs |
Returns
Type | Description |
---|---|
Boolean |
Inequality(XRCameraSubsystemCinfo, XRCameraSubsystemCinfo)
Declaration
public static bool operator !=(XRCameraSubsystemCinfo lhs, XRCameraSubsystemCinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRCameraSubsystemCinfo | lhs | |
XRCameraSubsystemCinfo | rhs |
Returns
Type | Description |
---|---|
Boolean |