Documentation

Unity Engine

Download Unity

Unity Engine

ImageEffectAllowedInSceneView

Any Image Effect with this attribute can be rendered into the Scene view camera.
Read time 4 minutesLast updated 4 days ago

Definition

Warning
Deprecated. ImageEffectAllowedInSceneView is deprecated and will be removed in a future release. It's used only by Built-In Render Pipeline image effects, which are no longer supported. To apply a camera component's settings in the Scene view, check whether the camera being rendered has CameraType.SceneView, and if so read the component from Camera.main instead.
public sealed class ImageEffectAllowedInSceneView : Attribute

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To create a full-screen effect in the Universal Render Pipeline (URP), use the Full Screen Pass Renderer Feature.
If you wish your image effect to be applied to the Scene view camera add this attribute. The effect will be applied in the same position, and with the same values as those from the camera the effect is on.

Inheritance

Inherited Members