Class XRCameraConfigurationExtensions
Extensions to the XRCameraConfiguration object.
Namespace: UnityEngine.XR.ARCore
Syntax
public static class XRCameraConfigurationExtensions
Methods
AsArCameraConfig(XRCameraConfiguration)
Gets cameraConfiguration
as an ARCore ArCameraConfig.
Declaration
public static ArCameraConfig AsArCameraConfig(this XRCameraConfiguration cameraConfiguration)
Parameters
Type | Name | Description |
---|---|---|
XRCameraConfiguration | cameraConfiguration | The XRCameraConfiguration being extended. |
Returns
Type | Description |
---|---|
ArCameraConfig | Returns the ARCore-specific representation of |
Remarks
Note: Do not Dispose() the returned ArCameraConfig.