docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PathtraceSampler

    Implements a way to sample the scene using the Unity path tracing camera. This is not realtime sampling, so a frame is produced over several frames of simulation.

    Inheritance
    object
    SceneSampler
    PathtraceSampler
    Inherited Members
    SceneSampler._camera
    SceneSampler._outputTexture
    SceneSampler._customPassesDesc
    SceneSampler._samplingRequestCallback
    SceneSampler._isSamplingRequested
    SceneSampler._sensorDesc
    SceneSampler._samplerDesc
    SceneSampler.CreateCameraDescriptor(SceneSamplerDesc, IPhotosensorArrayDescription, LensSystemDesc)
    SceneSampler.Release()
    SceneSampler.AsyncSampleScene(Action<CustomPassContext, RenderTexture>)
    SceneSampler.SubscribeEventHandlers()
    SceneSampler.UnsubscribeEventHandlers()
    SceneSampler.OnExposureTimeChanged(float, float)
    SceneSampler.OnGainChanged(float, float)
    SceneSampler.InternalRelease()
    SceneSampler.CreateCustomPass(CustomPassInjectionPoint, CustomPassCallback.ExecuteCustomPassAction<CustomPassContext>)
    SceneSampler.OnCameraSamplingCompleted(CustomPassContext)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class PathtraceSampler : SceneSampler

    Constructors

    Name Description
    PathtraceSampler(GameObject, IPhotosensorArrayDescription, SceneSamplerDesc)

    Constructs a sampler that uses the path tracing camera.

    Methods

    Name Description
    OverrideRayGenerationShader(RayTracingShader, Action<CommandBuffer>)

    Use to override the unity camera shader that generate the rays to sample the scene.

    SetPathtracingParameters(uint, uint, uint, float)

    Defines the number of rays, bounces, and intensity cap when defining the color of a pixel.

    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)