Method Register
Register(XRCameraSubsystemCinfo)
Registers a camera subsystem implementation based on the given subsystem parameters.
Declaration
public static bool Register(XRCameraSubsystemCinfo cameraSubsystemParams)
Parameters
| Type | Name | Description |
|---|---|---|
| XRCameraSubsystemCinfo | cameraSubsystemParams | The parameters defining the camera subsystem functionality implemented by the subsystem provider. |
Returns
| Type | Description |
|---|---|
| bool | true if the subsystem implementation is registered. Otherwise, false. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown when the values specified in the XRCameraSubsystemCinfo parameter are invalid. Typically, this will occur:
|