Method SetViewpointCamera
SetViewpointCamera(Camera)
Sets the viewpoint camera in the scene view.
Declaration
public void SetViewpointCamera(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera | The new camera information for the scene view. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | camera |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET 6.0 Windows | 100.13 - 100.15 |