docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DefaultSampler

    DefaultSampler(GameObject, IPhotosensorArrayDescription, LensSystemDesc, SceneSamplerDesc, bool)

    Constructs a sampler that uses the Unity camera.

    Declaration
    public DefaultSampler(GameObject parent, IPhotosensorArrayDescription sensorDesc, LensSystemDesc lensSystem, SceneSamplerDesc samplerDesc, bool useRaytracing)
    Parameters
    Type Name Description
    GameObject parent

    The GameObject that corresponds to the utilized component. Instantiates a Unity camera to execute the sampling.

    IPhotosensorArrayDescription sensorDesc

    Information defined on the photosensor array node.

    LensSystemDesc lensSystem

    Information defined on the lens component.

    SceneSamplerDesc samplerDesc

    Extra parameters for the sampler.

    bool useRaytracing

    Determines if the sampler should use the raytracing to enhance the rendering.

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