Class CameraSettingsUtilities
Utilities for CameraSettings.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public static class CameraSettingsUtilities
Methods
ApplySettings(Camera, CameraPositionSettings)
Applies settings
to cam
.
Declaration
public static void ApplySettings(this Camera cam, CameraPositionSettings settings)
Parameters
Type | Name | Description |
---|---|---|
Camera | cam | Camera to update. |
CameraPositionSettings | settings | Settings to apply. |
ApplySettings(Camera, CameraSettings)
Applies settings
to cam
.
Declaration
public static void ApplySettings(this Camera cam, CameraSettings settings)
Parameters
Type | Name | Description |
---|---|---|
Camera | cam | Camera to update. |
CameraSettings | settings | Settings to apply. |