Method TryGetFrame
TryGetFrame(XRCameraParams, out XRCameraFrame)
Get the camera frame for the subsystem.
Declaration
public virtual bool TryGetFrame(XRCameraParams cameraParams, out XRCameraFrame cameraFrame)
Parameters
| Type | Name | Description |
|---|---|---|
| XRCameraParams | cameraParams | The current Unity |
| XRCameraFrame | cameraFrame | The current camera frame returned by the method. |
Returns
| Type | Description |
|---|---|
| bool | true if the method successfully got a frame. Otherwise, false. |