Method ComputeCameraSettingsFromProbeSettings
ComputeCameraSettingsFromProbeSettings(ProbeSettings, ProbeCapturePositionSettings, out CameraSettings, out CameraPositionSettings, ulong, float, float)
Compute the camera settings from the probe settings
Declaration
public static void ComputeCameraSettingsFromProbeSettings(ProbeSettings settings, ProbeCapturePositionSettings position, out CameraSettings cameraSettings, out CameraPositionSettings cameraPositionSettings, ulong overrideSceneCullingMask, float referenceFieldOfView = 90, float referenceAspect = 1)
Parameters
Type | Name | Description |
---|---|---|
ProbeSettings | settings | The probe settings. |
ProbeCapturePositionSettings | position | The probe position. |
CameraSettings | cameraSettings | The produced camera settings. |
CameraPositionSettings | cameraPositionSettings | The produced camera position. |
ulong | overrideSceneCullingMask | Override of the scene culling mask. |
float | referenceFieldOfView | The reference field of view. |
float | referenceAspect | The reference aspect ratio. |