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