Class PathtracedSensingComponent
This class implement the sensing part of the photosensor.
Limitations One must know that the current implementation of the photosensor uses dx12 and DXR API through unity interfaces to measure the scene. For this reason, SensorSDK requires hardware that supports DXR to work. Otherwise, the user will experience no output coming from the photosensor.
Inheritance
PathtracedSensingComponent
Inherited Members
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[Serializable]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.1/manual/DeveloperGuide/BeamDivergence.html")]
public class PathtracedSensingComponent : PhotosensorSensingComponent
Fields
Name | Description |
---|---|
laserBeam | The description for the light source used when sampling the simulation. |
samplesPerBeam |
Methods
Name | Description |
---|---|
Activate(PhotosensorData, GameObject, Action<CustomPassContext>) | Initializes the sensing component. |
Deactivate() | Releases the sampler and other GPU resources. |
ExecuteSampling(CustomPassContext, RayTracingAccelerationStructure) | Call a path tracing process on the GPU to execute the sampling request sent through samplingRequest input port. |