Method SetViewpointCamera
SetViewpointCamera(Camera)
Immediately changes the display to the viewpoint specified by the given camera.
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 Windows | 100.13 - 200.8 |