Method SetActive
SetActive(bool)
Sets the state of ScriptableRenderFeature (true: the feature is active, false: the feature is inactive). If the feature is active, it is added to the renderer it is attached to, otherwise the feature is skipped while rendering.
Declaration
public void SetActive(bool active)
Parameters
Type | Name | Description |
---|---|---|
bool | active | The true value activates the ScriptableRenderFeature and the false value deactivates it. |