Method GetOrCreate
GetOrCreate(Camera, int)
Get the existing HDCamera for the provided camera or create a new if it does not exist yet.
Declaration
public static HDCamera GetOrCreate(Camera camera, int xrMultipassId = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | Camera for which the HDCamera is needed. |
| int | xrMultipassId | XR multi-pass Id. |
Returns
| Type | Description |
|---|---|
| HDCamera |