Class CameraModeExtensions
Extensions related to the CameraFacingDirection enum.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public static class CameraModeExtensions
  Methods
ToCameraFacingDirection(Feature)
Converts self to a CameraFacingDirection.
Declaration
public static CameraFacingDirection ToCameraFacingDirection(this Feature self)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Feature | self | The   | 
      
Returns
| Type | Description | 
|---|---|
| CameraFacingDirection | The CameraFacingDirection represented by   | 
      
ToFeature(CameraFacingDirection)
Converts self to a Feature.
Declaration
public static Feature ToFeature(this CameraFacingDirection self)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CameraFacingDirection | self | The CameraFacingDirection being extended.  | 
      
Returns
| Type | Description | 
|---|---|
| Feature | The   |