Constructor PostProcessAttribute
PostProcessAttribute(Type, PostProcessEvent, string, bool)
Creates a new attribute.
Declaration
public PostProcessAttribute(Type renderer, PostProcessEvent eventType, string menuItem, bool allowInSceneView = true)
Parameters
Type | Name | Description |
---|---|---|
Type | renderer | The renderer type to associate with a PostProcessEffectSettings |
PostProcessEvent | eventType | The injection point for the effect |
string | menuItem | The menu item name to set for the effect. You can use a |
bool | allowInSceneView | Should this effect be allowed in the Scene View? |