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.
Inherited Members
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. |