Description
The OnRenderPostProcess
property of the SceneCamera
class is an event that is triggered when the post-process rendering pass is executed. This property is marked as obsolete, indicating that it may be removed in future versions and should be avoided in new code.
Usage
To use the OnRenderPostProcess
property, you can assign a delegate or lambda expression to it that defines the actions to be performed during the post-process rendering pass. However, since this property is obsolete, it is recommended to look for alternative methods or properties for handling post-process rendering.
Example
// Example of assigning a delegate to the OnRenderPostProcess event
SceneCamera camera = new SceneCamera();
camera.OnRenderPostProcess = () => {
// Custom post-process rendering logic
// Note: This usage is discouraged as the property is obsolete
};