docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateRenderingSettingsFor

    GenerateRenderingSettingsFor(ProbeSettings, ProbeCapturePositionSettings, List<CameraSettings>, List<CameraPositionSettings>, List<CubemapFace>, ulong, ProbeRenderSteps, bool, float, float)

    Generate the camera render settings and camera position to use to render a probe.

    Declaration
    public static void GenerateRenderingSettingsFor(ProbeSettings settings, ProbeCapturePositionSettings position, List<CameraSettings> cameras, List<CameraPositionSettings> cameraPositions, List<CubemapFace> cameraCubeFaces, ulong overrideSceneCullingMask, ProbeRenderSteps renderSteps, bool forceFlipY = false, float referenceFieldOfView = 90, float referenceAspect = 1)
    Parameters
    Type Name Description
    ProbeSettings settings

    The probe settings to use.

    ProbeCapturePositionSettings position

    The probe position to use.

    List<CameraSettings> cameras

    Will receives the camera settings.

    List<CameraPositionSettings> cameraPositions

    Will receives the camera position settings.

    List<CubemapFace> cameraCubeFaces

    Will receive the camera cube face settings.

    ulong overrideSceneCullingMask

    Override of the scene culling mask.

    ProbeRenderSteps renderSteps

    The rendering steps to perform for this probe.

    bool forceFlipY

    Whether to force the Y axis flipping.

    float referenceFieldOfView

    The reference field of view.

    float referenceAspect

    The reference aspect ratio.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)