Method CreateUnityCameraPathtracing
CreateUnityCameraPathtracing(GameObject, CameraDesc)
Create a physical camera that use path tracing rendering to sample the scene.
Declaration
public static Camera CreateUnityCameraPathtracing(GameObject parent, CameraDesc desc)
Parameters
Type | Name | Description |
---|---|---|
GameObject | parent | GameObject that will be the parent of a new game object with a camera component. |
CameraDesc | desc | Sensor information that contain useful information to create the camera. |
Returns
Type | Description |
---|---|
Camera | The newly-created camera. |