docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor CubemapSampler

    CubemapSampler(GameObject, IPhotosensorArrayDescription, SceneSamplerDesc, int)

    Constructs a sampler that uses multiple unity cameras to create a cube map.

    Declaration
    public CubemapSampler(GameObject parent, IPhotosensorArrayDescription sensorDesc, SceneSamplerDesc samplerDesc, int faceMask = 63)
    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. Note: the height and width MUST be the same and a power of two.

    SceneSamplerDesc samplerDesc

    Extra parameters for the sampler. Determines if the sampler should use the raytracing to enhance the rendering.

    int faceMask

    A bit mask that define which faces will have a result stored in.

    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)