Unity - Scripting API: InputExtraction
class in UnityEngine.LightTransport
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Provides methods for extracting scene data and populating integration worlds for use in light transport calculations.
The InputExtraction class serves as the primary interface for converting Unity scene data into formats suitable for light transport calculations. It extracts geometry, materials, lights, settings, and light probe information from open scenes and prepares them for use with integrators.
This class is essential for:
- Converting Unity scenes to light transport input data structures.
- Preparing acceleration structures for ray tracing.
- Preparing input data for various light probe integrators.
The extracted data can be used with the GPU-accelerated (RadeonRaysContext) implementation.